Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialThet Htut Oo
2,158 PointsBootstrap 3 installation
Can anyone show me how to install bootstrap 3 in ruby on rails 4. Thanks.
4 Answers
Maciej Czuchnowski
36,441 PointsI would suggest using the Bootstrap gem instead of putting files in your project manually: https://github.com/twbs/bootstrap-sass
Andrew Lincoln
1,732 Pointsmaciej , is right. If your running on Mac OSx or Linux, the gem should work fine. Windows users have had problems integrating the bootstrap gem.
Maciej Czuchnowski
36,441 PointsYup, and if you're still using Windows, think about VMWare Player with some Linux distribution on it, you will get smoother and more stable experience in the long run.
Andrew Lincoln
1,732 Pointsyou can just implement the stylesheet in the stylesheets directory in your application. It will load dynamically along with any other stylesheet. This also applies for the javascript files necessary for bootstrap to function.
Kenan Memis
47,314 PointsHi,
The following link has a walkthrough for installing Bootstrap 3 with Rails 4. I checked it, it works perfect.