Question
Bootstrap not working on my Rails app
Hey, so for some reason Twitter Bootstrap isn’t working on my Rails app. It works fine on my local machine, I’ve made sure I’ve installed the bootstrap-sass gem and sass-rails gem.
If I view source of my website while on my local machine, I can see all the bootstrap javascript files being included in the <head> tags, but if I view source of my VPS, there are no bootstrap files included.
Can anyone please help?
Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Here’s a guide on Twitter Bootstrap - http://www.sitepoint.com/twitter-bootstrap-less-and-sass-understanding-your-options-for-rails-3-1/
Don’t waste your time with the link.
Try
bin/rails assets:precompile