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.css
andbootstrap-dist/css/bootstrap.min.css
To:
vendor/assets/stylesheets
-
Copy:
bootstrap-dist/js/bootstrap.js
andbootstrap-dist/js/bootstrap.min.js
To:
vendor/assets/javascripts
-
Update:
app/assets/stylesheets/application.css
by adding:*= require bootstrap.min
-
Update:
app/assets/javascripts/application.js
by 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.