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

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