- Add the bootstrap-sass gem to the project GEMFILE
2. Bundle Install to install the gem:
3. Add the following input directives to any of the .css.scss files in the "stylesheets" folder of the asset pipeline. (I usually create a dedicated file for this purpose).
@import "bootstrap-sprockets"; @import "bootstrap";
= require bootstrap
Tip: Remember that scaffolding code will create a default set of css and js files that can conflict with bootstrap styling. If in doubt delete the bootstapped files.