{"action":"created","issue":{"url":"https://api.github.com/repos/bokmann/font-awesome-rails/issues/149","labels_url":"https://api.github.com/repos/bokmann/font-awesome-rails/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/bokmann/font-awesome-rails/issues/149/comments","events_url":"https://api.github.com/repos/bokmann/font-awesome-rails/issues/149/events","html_url":"https://github.com/bokmann/font-awesome-rails/issues/149","id":102578227,"number":149,"title":"Precompiled assets broken in production (and development, when using precompiled assets)","user":{"login":"superbilk","id":4645,"avatar_url":"https://avatars.githubusercontent.com/u/4645?v=3","gravatar_id":"","url":"https://api.github.com/users/superbilk","html_url":"https://github.com/superbilk","followers_url":"https://api.github.com/users/superbilk/followers","following_url":"https://api.github.com/users/superbilk/following{/other_user}","gists_url":"https://api.github.com/users/superbilk/gists{/gist_id}","starred_url":"https://api.github.com/users/superbilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superbilk/subscriptions","organizations_url":"https://api.github.com/users/superbilk/orgs","repos_url":"https://api.github.com/users/superbilk/repos","events_url":"https://api.github.com/users/superbilk/events{/privacy}","received_events_url":"https://api.github.com/users/superbilk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-23T01:03:54Z","updated_at":"2015-08-23T02:05:26Z","closed_at":"2015-08-23T01:27:16Z","body":"Hi erveyone,\r\n\r\nI'm working on this, since I upgraded from font-awesome-rails 4.3.0 to 4.4.0 earlier that day. (see more at the end)\r\n\r\nIn production with precompiled assets (through capistrano) I only get empty boxes instead of icons.\r\nI have the issue in production right now (https://www.happinessmetric.com -> you should see some icons in the navbar)\r\n\r\nIf I precompile my assets on my local machine (```RAILS_ENV=production bin/rake assets:precompile```) I can reproduce the problem (all caches cleared). No matter if I start ```rails s``` in development or production mode. And I also tried different settings on ```config.assets.digest``` and ```config.assets.compile```.\r\n\r\nIf I use the pipeline in development, everything is fine. That's my only working 'solution' at the moment.\r\n\r\nPrecompiled I get the correct filenames \r\n````\r\nfontawesome-webfont-1b7f3de49d68b01f415574ebb82e6110a1d09cda2071ad8451bdb5124131a292.ttf\r\nfontawesome-webfont-3c4a1bb7ce3234407184f0d80cc4dec075e4ad616b44dcc5778e1cfb1bc24019.woff2\r\nfontawesome-webfont-7414288c272f6cc10304aa18e89bf24fb30f40afd644623f425c2c3d71fbe06a.svg\r\nfontawesome-webfont-a7c7e4930090e038a280fd61d88f0dc03dad4aeaedbd8c9be3dd9aa4c3b6f8d1.woff\r\nfontawesome-webfont-d4f5a99224154f2a808e42a441ddc9248ffe78b7a4083684ce159270b30b912a.eot\r\n````\r\nand these are referenced correctly in my application.css. There are no 404 or any other errors.\r\n\r\nI would guess precompiling somehow breaks the font-files. But I have no idea how to further investigate...\r\nI've also put these files online, maybe someone knows how to check these: https://www.dropbox.com/sh/a7x8o5raietzbz8/AACg_slTHfsJmNFZleJdNMW9a?dl=0\r\n\r\nWhat I also did (referencing your debugging guidelines)\r\n* definitely restarted my server in development and production several times\r\n* yup same name, like facebook-star (```<i class=\"fa fa-facebook-square fa-2x\">```)\r\n* deleted public/assets\r\n* emptied tmp/chache\r\n* tried another browser and another device\r\n* touched my application.css (and restarted my server)\r\n* not the case, it's outside and I use only fa_icon in my app\r\n* no, only 4.4.0 in my Gemfile.lock\r\n* I'm only using fa_icon\r\n\r\n````\r\nhappinessmetric git:(master) ✗ bundle list | grep 'rails\\|awesome\\|sass\\|less'\r\n  * autoprefixer-rails (5.2.1.2)\r\n  * bootstrap-sass (3.3.5.1)\r\n  * bootswatch-rails (3.3.5)\r\n  * browser-timezone-rails (0.2.00)\r\n  * capistrano-rails (1.1.3)\r\n  * coffee-rails (4.1.0)\r\n  * factory_girl_rails (4.5.0)\r\n  * font-awesome-rails (4.4.0.0)\r\n  * guard-rails (0.7.2)\r\n  * jquery-cookie-rails (1.3.1.1)\r\n  * jquery-rails (4.0.4)\r\n  * jstz-rails (1.0.4.1 3c5d573)\r\n  * rails (4.2.3)\r\n  * rails-deprecated_sanitizer (1.0.3)\r\n  * rails-dom-testing (1.0.7)\r\n  * rails-html-sanitizer (1.0.2)\r\n  * rails-i18n (4.0.4)\r\n  * sass (3.4.17)\r\n  * sass-rails (5.0.3)\r\n  * sprockets-rails (2.3.2)\r\n````\r\n\r\nAs I said, I upgraded font-awesome-rails. And there are some other gems updated. Maybe this also helps:\r\n````\r\ncommit ca1be6978d698e119bce3b0cd5b0f038c291e3d9\r\nAuthor: Chris Schmidt <chris@superbilk.org>\r\nDate:   Sat Aug 22 13:07:47 2015 +0200\r\n\r\n    updated gems\r\n\r\ndiff --git a/Gemfile.lock b/Gemfile.lock\r\nindex 1329f6f..eecc13c 100644\r\n--- a/Gemfile.lock\r\n+++ b/Gemfile.lock\r\n@@ -54,11 +54,11 @@ GEM\r\n       thread_safe (~> 0.3, >= 0.3.4)\r\n       tzinfo (~> 1.1)\r\n     acts_as_votable (0.10.0)\r\n-    arel (6.0.0)\r\n-    ast (2.0.0)\r\n-    astrolabe (1.3.0)\r\n-      parser (>= 2.2.0.pre.3, < 3.0)\r\n-    autoprefixer-rails (5.2.1)\r\n+    arel (6.0.3)\r\n+    ast (2.1.0)\r\n+    astrolabe (1.3.1)\r\n+      parser (~> 2.2)\r\n+    autoprefixer-rails (5.2.1.2)\r\n       execjs\r\n       json\r\n     bcrypt (3.1.10)\r\n@@ -76,7 +76,7 @@ GEM\r\n     business_time (0.7.4)\r\n       activesupport (>= 3.1.0)\r\n       tzinfo\r\n-    cancancan (1.11.0)\r\n+    cancancan (1.12.0)\r\n     capistrano (3.4.0)\r\n       i18n\r\n       rake (>= 10.0.0)\r\n@@ -106,7 +106,7 @@ GEM\r\n     delayed_job_active_record (4.0.3)\r\n       activerecord (>= 3.0, < 5.0)\r\n       delayed_job (>= 3.0, < 4.1)\r\n-    devise (3.5.1)\r\n+    devise (3.5.2)\r\n       bcrypt (~> 3.0)\r\n       orm_adapter (~> 0.1)\r\n       railties (>= 3.2.6, < 5)\r\n@@ -116,37 +116,37 @@ GEM\r\n     devise-async (0.10.1)\r\n       devise (~> 3.2)\r\n     devise-i18n (0.12.1)\r\n-    devise_invitable (1.5.1)\r\n+    devise_invitable (1.5.2)\r\n       actionmailer (>= 3.2.6, < 5)\r\n       devise (>= 3.2.0)\r\n     erubis (2.7.0)\r\n-    eventmachine (1.0.7)\r\n-    execjs (2.5.2)\r\n+    eventmachine (1.0.8)\r\n+    execjs (2.6.0)\r\n     factory_girl (4.5.0)\r\n       activesupport (>= 3.0.0)\r\n     factory_girl_rails (4.5.0)\r\n       factory_girl (~> 4.5.0)\r\n       railties (>= 3.0.0)\r\n-    faker (1.4.3)\r\n+    faker (1.5.0)\r\n       i18n (~> 0.5)\r\n-    ffi (1.9.9)\r\n-    font-awesome-rails (4.3.0.0)\r\n+    ffi (1.9.10)\r\n+    font-awesome-rails (4.4.0.0)\r\n       railties (>= 3.2, < 5.0)\r\n     formatador (0.2.5)\r\n-    globalid (0.3.5)\r\n+    globalid (0.3.6)\r\n       activesupport (>= 4.1.0)\r\n-    gon (5.2.3)\r\n-      actionpack (>= 2.3.0)\r\n+    gon (6.0.1)\r\n+      actionpack (>= 3.0)\r\n       json\r\n       multi_json\r\n-      request_store (>= 1.0.5)\r\n-    griddler (1.2.0)\r\n+      request_store (>= 1.0)\r\n+    griddler (1.2.1)\r\n       htmlentities\r\n       rails (>= 3.2.0)\r\n     griddler-sendgrid (0.0.1)\r\n       griddler\r\n     growl (1.0.3)\r\n-    guard (2.12.7)\r\n+    guard (2.13.0)\r\n       formatador (>= 0.2.4)\r\n       listen (>= 2.7, <= 4.0)\r\n       lumberjack (~> 1.0)\r\n@@ -163,18 +163,18 @@ GEM\r\n     guard-minitest (2.4.4)\r\n       guard-compat (~> 1.2)\r\n       minitest (>= 3.0)\r\n-    guard-rails (0.7.1)\r\n+    guard-rails (0.7.2)\r\n       guard (~> 2.11)\r\n       guard-compat (~> 1.0)\r\n     guard-rubocop (1.2.0)\r\n       guard (~> 2.0)\r\n       rubocop (~> 0.20)\r\n-    haml (4.0.6)\r\n+    haml (4.0.7)\r\n       tilt\r\n-    htmlentities (4.3.3)\r\n+    htmlentities (4.3.4)\r\n     i18n (0.7.0)\r\n     i18n_yaml_sorter (0.2.0)\r\n-    jbuilder (2.3.0)\r\n+    jbuilder (2.3.1)\r\n       activesupport (>= 3.0.0, < 5)\r\n       multi_json (~> 1.2)\r\n     jquery-cookie-rails (1.3.1.1)\r\n@@ -190,10 +190,10 @@ GEM\r\n     kaminari (0.16.3)\r\n       actionpack (>= 3.0.0)\r\n       activesupport (>= 3.0.0)\r\n-    listen (3.0.0)\r\n+    listen (3.0.3)\r\n       rb-fsevent (>= 0.9.3)\r\n       rb-inotify (>= 0.9)\r\n-    loofah (2.0.2)\r\n+    loofah (2.0.3)\r\n       nokogiri (>= 1.5.9)\r\n     lumberjack (1.0.9)\r\n     mail (2.6.3)\r\n@@ -203,19 +203,19 @@ GEM\r\n     method_source (0.8.2)\r\n     mime-types (2.6.1)\r\n     mini_portile (0.6.2)\r\n-    minitest (5.7.0)\r\n-    multi_json (1.11.1)\r\n+    minitest (5.8.0)\r\n+    multi_json (1.11.2)\r\n     nenv (0.2.0)\r\n     net-scp (1.2.1)\r\n       net-ssh (>= 2.6.5)\r\n     net-ssh (2.9.2)\r\n     nokogiri (1.6.6.2)\r\n       mini_portile (~> 0.6.0)\r\n-    notiffany (0.0.6)\r\n+    notiffany (0.0.7)\r\n       nenv (~> 0.1)\r\n       shellany (~> 0.0)\r\n     orm_adapter (0.5.0)\r\n-    parser (2.3.0.pre.2)\r\n+    parser (2.2.2.6)\r\n       ast (>= 1.1, < 3.0)\r\n     powerpack (0.1.1)\r\n     pry (0.10.1)\r\n@@ -240,7 +240,7 @@ GEM\r\n       sprockets-rails\r\n     rails-deprecated_sanitizer (1.0.3)\r\n       activesupport (>= 4.2.0.alpha)\r\n-    rails-dom-testing (1.0.6)\r\n+    rails-dom-testing (1.0.7)\r\n       activesupport (>= 4.2.0.beta, < 5.0)\r\n       nokogiri (~> 1.6.0)\r\n       rails-deprecated_sanitizer (>= 1.0.1)\r\n@@ -261,17 +261,17 @@ GEM\r\n       ffi (>= 0.5.0)\r\n     rb-readline (0.5.3)\r\n     rdoc (4.2.0)\r\n-    request_store (1.1.0)\r\n+    request_store (1.2.0)\r\n     responders (2.1.0)\r\n       railties (>= 4.2.0, < 5)\r\n-    rubocop (0.32.1)\r\n+    rubocop (0.33.0)\r\n       astrolabe (~> 1.3)\r\n       parser (>= 2.2.2.5, < 3.0)\r\n       powerpack (~> 0.1)\r\n       rainbow (>= 1.99.1, < 3.0)\r\n       ruby-progressbar (~> 1.4)\r\n     ruby-progressbar (1.7.5)\r\n-    sass (3.4.15)\r\n+    sass (3.4.17)\r\n     sass-rails (5.0.3)\r\n       railties (>= 4.0.0, < 5.0)\r\n       sass (~> 3.1)\r\n@@ -288,13 +288,13 @@ GEM\r\n     simple_form (3.1.0)\r\n       actionpack (~> 4.0)\r\n       activemodel (~> 4.0)\r\n-    sitemap_generator (5.0.5)\r\n+    sitemap_generator (5.1.0)\r\n       builder\r\n-    skylight (0.6.0)\r\n+    skylight (0.8.0)\r\n       activesupport (>= 3.0.0)\r\n     slop (3.6.0)\r\n     spring (1.3.6)\r\n-    sprockets (3.2.0)\r\n+    sprockets (3.3.3)\r\n       rack (~> 1.0)\r\n     sprockets-rails (2.3.2)\r\n       actionpack (>= 3.0)\r\n`````\r\n\r\nCheers,\r\n- Chris"},"comment":{"url":"https://api.github.com/repos/bokmann/font-awesome-rails/issues/comments/133771544","html_url":"https://github.com/bokmann/font-awesome-rails/issues/149#issuecomment-133771544","issue_url":"https://api.github.com/repos/bokmann/font-awesome-rails/issues/149","id":133771544,"user":{"login":"rmm5t","id":740,"avatar_url":"https://avatars.githubusercontent.com/u/740?v=3","gravatar_id":"","url":"https://api.github.com/users/rmm5t","html_url":"https://github.com/rmm5t","followers_url":"https://api.github.com/users/rmm5t/followers","following_url":"https://api.github.com/users/rmm5t/following{/other_user}","gists_url":"https://api.github.com/users/rmm5t/gists{/gist_id}","starred_url":"https://api.github.com/users/rmm5t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmm5t/subscriptions","organizations_url":"https://api.github.com/users/rmm5t/orgs","repos_url":"https://api.github.com/users/rmm5t/repos","events_url":"https://api.github.com/users/rmm5t/events{/privacy}","received_events_url":"https://api.github.com/users/rmm5t/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T02:05:26Z","updated_at":"2015-08-23T02:05:26Z","body":"Just FYI. Bootswatch-rails packages a competing and outdated version of\nFontAwesome.\n\nNot sure if that was your problem, but maybe worth investigating.\n\n\n\nOn Saturday, August 22, 2015, Chris <notifications@github.com> wrote:\n\n> As everyone might have expected, it's not a bug with font-awesome-rails.\n> It's some other gem (still don't know wich broke everything). Sorry.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/bokmann/font-awesome-rails/issues/149#issuecomment-133769097>\n> .\n>\n"}}