Rails and bootstrap
How to install bootstrap on your Rails 5+ project
After quite a bit of Googling and some failed attempts I landed here.
The gist is to do the following:
Put the following into your Gemfile
gem 'bootstrap-sass', '3.3.7'
Run
bundle install
Create a CSS file
touch app/assets/stylesheets/custom.scss
Import bootstrap and bootstrap-sprockets into the file you just created
@import "bootstrap-sprockets"; @import "bootstrap";
You’re now running bootstrap!