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 trialRashad Madison
Full Stack JavaScript Techdegree Graduate 26,370 Pointscant seem to get twitter bootstrap to work
I am working on the Build a Simple Ruby on Rails Application tutorial. particularly the part where I install twitter bootstrap. I am following the tutorial exactly, but cant seem to get the classes to work exactly how they do on the site. I had it working at one point (kind of) have had to restart my project multiple times (The Build a Simple Ruby on Rails Application project) it seems that bootstrap has been changed around a great deal since the recording of the video. Any help installing twitter bootstrap on Ubuntu would be appretiacted.
Rashad Madison
Full Stack JavaScript Techdegree Graduate 26,370 Pointshey does this work for rails 3. i think sass only works for rails 4
Ben Ackles
27,551 PointsBen Ackles
27,551 PointsAre you following the tutorial using Git/GitHub? If you're using GitHub, can you share a link to your repo?
Here's how to setup Twitter Bootstrap with the current version (v3.0.0).
gem 'bootstrap-sass', github: 'thomas-mcdonald/bootstrap-sass', branch: '3'
to your/Gemfile
bundle install
from the command linecustom-bootstrap.css
(or whatever) at/app/assets/stylesheets/custom-bootstrap.css
@import 'bootstrap';
at the top of your new css file.rails server
Let me know if you have any trouble.