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 trial

Development Tools

How do you install Twitter Bootstrap 3?

How do you install Twitter Bootstrap 3 to an existing ruby on rails project? Could anybody help me, i'v installed Twitter Bootstrap 2.3.2 and that was straight forward, but with Bootstrap 3 there is tons of files and folders and i'm stuck which files and folders i need to install Twitter bootstrap 3 to my ruby on rails project. Any help is greatly appreciated, Thanks :)

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

Let me say, I'm not a programmer, so I know little of RoR. How are you trying to install it? There is an option to install it with bower, and they give you the command of

$ bower install bootstrap

But I do know know from there, what it looks like.

You said there are tons of files and folders, which is true if you download it from the frontpage. The files you need to get bootstrap3 going are inside of the file "dist" which you'll find css, fonts, and js folders inside, and those are the ones you want.

Hope that helps.

Thanks for the help, it works :)

David Turner
David Turner
5,556 Points

I just started taking an HTML5 class so I can't help with the Ruby on Rails stuff, but the files that were in the Bootstrap 2.3.2 package are in the dist folder in Bootstrap 3. We copied that folder into our project site.

Thanks also for the help. :)