Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby

Installing twitter bootstrap on unbuntu

I am trying to install twitter bootstrap on ubuntu 64 bit. I'm quite new to using ubuntu. I have been watching Frontend Development > Laying Out the Page videos. I hear its difficult to work with ruby on rails on pc, So I have ubuntu installed on a virtual machine and I am having difficulty installing bootstrap. I cant seem to find any tutorials on it. Please help.

1 Answer

Stone Preston
Stone Preston
42,016 Points

its just a css file, so you can dowload the css file off the bootstrap page and copy and paste that into your text editor and save it as a .css file, which is what they do in the treehouse videos.

I prefer just using the bootstrap gem (just add bootstrap-sass to your gemfile and run bundle install). If you want to use a specific version of bootstrap you will have to add the version number.

gem "bootstrap-sass", "~> 2.3.2.2"

Note: if you use the gem at the top of your custom css file you will need to import bootstrap