Actually you don’t need gem for this, here is the step to install Bootstrap 3 in RoR
-
Download Bootstrap
-
Copy:
bootstrap-dist/css/bootstrap.cssandbootstrap-dist/css/bootstrap.min.cssTo:
vendor/assets/stylesheets -
Copy:
bootstrap-dist/js/bootstrap.jsandbootstrap-dist/js/bootstrap.min.jsTo:
vendor/assets/javascripts -
Update:
app/assets/stylesheets/application.cssby adding:*= require bootstrap.min -
Update:
app/assets/javascripts/application.jsby adding://= require bootstrap.min
With this you can update bootstrap any time you want, don’t need to wait gem to be updated. Also with this approach assets pipeline will use minified versions in production.