Install Bootstrap into Rails apps
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 and bootstrap/dist/css/bootstrap.min.css
To: vendor/assets/stylesheets
- Copy:
bootstrap/dist/js/bootstrap.js and bootstrap/dist/js/bootstrap.min.js
To: vendor/assets/javascripts
- Update: app/assets/stylesheets/application.css by adding:
- Update: app/assets/javascripts/application.jsby adding:
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.
(Source: http://stackoverflow.com/questions/18371318/installing-bootstrap-3-on-rails-app)