Closed andreykul closed 9 years ago
:+1:
@andreykul @passalini Adding the bootstrap gem will just serve as a quickhack (it adds all the extra bootstrap unused CSS.) I'm still trying to figure out a way to properly integrate the glyphicons with sprocket. Any idea is welcome!
Try adding @import "bootstrap-sprockets";
to vendor/assets/stylesheets/bootflat.scss
right before @import "bootstrap";
EDIT: I went to the installed gem folder and did exactly what I wrote above. It loaded all the files now.
It should be fixed now in 0.1.11 - thanks @andreykul for the pull request.
I have installed the gem as instructed in the documentation but when I ran my application the glyphicons assets would not load.
I ended up solving the issue by including the
gem 'bootstrap-sass'
in my application. Then adding the following toapp/assets/stylesheets/application.css.scss
:For reference I'm using Rails 4.0.2 Correct Gemfile: