{"action":"created","issue":{"url":"https://api.github.com/repos/seyhunak/twitter-bootstrap-rails/issues/834","labels_url":"https://api.github.com/repos/seyhunak/twitter-bootstrap-rails/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/seyhunak/twitter-bootstrap-rails/issues/834/comments","events_url":"https://api.github.com/repos/seyhunak/twitter-bootstrap-rails/issues/834/events","html_url":"https://github.com/seyhunak/twitter-bootstrap-rails/issues/834","id":54664186,"number":834,"title":"Glyphicons missing","user":{"login":"homebase-dev","id":7480751,"avatar_url":"https://avatars.githubusercontent.com/u/7480751?v=3","gravatar_id":"","url":"https://api.github.com/users/homebase-dev","html_url":"https://github.com/homebase-dev","followers_url":"https://api.github.com/users/homebase-dev/followers","following_url":"https://api.github.com/users/homebase-dev/following{/other_user}","gists_url":"https://api.github.com/users/homebase-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/homebase-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homebase-dev/subscriptions","organizations_url":"https://api.github.com/users/homebase-dev/orgs","repos_url":"https://api.github.com/users/homebase-dev/repos","events_url":"https://api.github.com/users/homebase-dev/events{/privacy}","received_events_url":"https://api.github.com/users/homebase-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-17T15:06:13Z","updated_at":"2015-10-26T00:29:40Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm using twitter-bootstrap-rails in my app and somehow the glyphicons assets are missing, even after I uncommented the line stated in the docs. \r\nI googled a lot but still could not resolve this problem. \r\n\r\nScreenshot here:\r\n![assets_missing](https://cloud.githubusercontent.com/assets/7480751/5789218/deae7ae4-9e61-11e4-878d-333321e3ac80.png)\r\n\r\nI'm using:\r\n* Rails 4.1.8\r\n* ruby 2.1.5 (2014-11-13) [x86_64-linux]\r\n\r\nMy ***bootstrap_and_overrides.less*** looks like this:\r\n```\r\n@import \"twitter/bootstrap/bootstrap\";\r\n\r\n// Set the correct sprite paths\r\n@iconSpritePath: image-url(\"twitter/bootstrap/glyphicons-halflings.png\");\r\n@iconWhiteSpritePath: image-\r\nhttps://github.com/seyhunak/twitter-bootstrap-rails/issues/new#url(\"twitter/bootstrap/glyphicons-halflings-white.png\");\r\n\r\n// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)\r\n// @fontAwesomeEotPath: font-url(\"fontawesome-webfont.eot\");\r\n// @fontAwesomeEotPath_iefix: font-url(\"fontawesome-webfont.eot?#iefix\");\r\n// @fontAwesomeWoffPath: font-url(\"fontawesome-webfont.woff\");\r\n// @fontAwesomeTtfPath: font-url(\"fontawesome-webfont.ttf\");\r\n// @fontAwesomeSvgPath: font-url(\"fontawesome-webfont.svg#fontawesomeregular\");\r\n\r\n// Font Awesome\r\n// @import \"fontawesome/font-awesome\";\r\n\r\n// Glyphicons\r\n@import \"twitter/bootstrap/glyphicons.less\";\r\n```\r\n\r\nMy ***gemfile***\r\n```\r\nsource 'https://rubygems.org'\r\n\r\ngem 'rails', '4.1.8'\r\ngem 'mysql2'\r\ngem 'devise'\r\ngem 'haml', '~> 4.0.5'\r\n\r\ngem \"therubyracer\"\r\ngem \"less-rails\" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS\r\ngem \"twitter-bootstrap-rails\"\r\n\r\ngem 'carrierwave'\r\ngem 'mini_magick'\r\ngem 'mathjax-rails'\r\ngem 'html2haml'\r\ngem 'ckeditor'\r\ngem 'omniauth-facebook'\r\ngem 'prawn'\r\ngem 'prawn-table'\r\ngem 'devise-i18n'\r\ngem 'kaminari'\r\ngem 'sass-rails', '~> 4.0.3'\r\ngem 'uglifier', '>= 1.3.0'\r\ngem 'coffee-rails', '~> 4.0.0'\r\ngem 'jquery-rails'\r\ngem 'turbolinks'\r\ngem 'jbuilder', '~> 2.0'\r\ngem 'sdoc', '~> 0.4.0',          group: :doc\r\n\r\ngem 'tzinfo-data', platforms: [:mingw, :mswin]\r\n```\r\n\r\nHow I access the glyphicon in the **view**\r\n```\r\n...\r\n  %a.left.carousel-control{\"data-slide\" => \"prev\", :href => \"#myCarousel\", :role => \"button\"}\r\n    %span.glyphicon.glyphicon-chevron-left{\"aria-hidden\" => \"true\"}\r\n    %span.sr-only Previous\r\n  %a.right.carousel-control{\"data-slide\" => \"next\", :href => \"#myCarousel\", :role => \"button\"}\r\n    %span.glyphicon.glyphicon-chevron-right{\"aria-hidden\" => \"true\"}\r\n    %span.sr-only Next\r\n\r\n...\r\n```\r\n\r\n\r\nI played around a bit and I noticed that when I run a **rake assets:precompile** in production mode and having a look at the assets folder, it seems that the glyphicons are in the wrong directory? \r\nCould this have something to do with this problem?\r\n\r\n![assets_missing2](https://cloud.githubusercontent.com/assets/7480751/5789223/244c3d52-9e62-11e4-834d-c7b80f510255.png)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/seyhunak/twitter-bootstrap-rails/issues/comments/150991727","html_url":"https://github.com/seyhunak/twitter-bootstrap-rails/issues/834#issuecomment-150991727","issue_url":"https://api.github.com/repos/seyhunak/twitter-bootstrap-rails/issues/834","id":150991727,"user":{"login":"robotex82","id":655932,"avatar_url":"https://avatars.githubusercontent.com/u/655932?v=3","gravatar_id":"","url":"https://api.github.com/users/robotex82","html_url":"https://github.com/robotex82","followers_url":"https://api.github.com/users/robotex82/followers","following_url":"https://api.github.com/users/robotex82/following{/other_user}","gists_url":"https://api.github.com/users/robotex82/gists{/gist_id}","starred_url":"https://api.github.com/users/robotex82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robotex82/subscriptions","organizations_url":"https://api.github.com/users/robotex82/orgs","repos_url":"https://api.github.com/users/robotex82/repos","events_url":"https://api.github.com/users/robotex82/events{/privacy}","received_events_url":"https://api.github.com/users/robotex82/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T00:29:40Z","updated_at":"2015-10-26T00:29:40Z","body":"I having the same error on heroku/production on rails 4.2.4/twitter-bootstrap 3.2.0."}}