Hi I have Ruby Rails set up on Mac OSX with Homebrew and Rbenv.
I now want to play around with Bootstrap incorporated into that setup but I’m not sure how to set Bootstrap up accordingly.
Has anyone got any advice / setup guides?
The easiest thing is to use the twitter-bootstrap-rails gem https://github.com/seyhunak/twitter-bootstrap-rails
in your Gemfile:
and then bin/rake bundle install
You need to include the Bootstrap gem in your Gemfile which you can do just by adding the following line of code:
Visit the following link for more details on the bootstrap gem:
Once you have added the gem to Gemfile, you just need to run the following command:
Now, you are ready to import the bootstrap peoperties to your stylesheet. Just add the follwoing two @imports to your css/scss:
Hope it works for you!
Click here to cancel reply.