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

CSS

Bootstrap not working on rails project

I've downloaded the project files from the Rails Development adventure, Stage 4: Using AJAX to start fresh. I managed to get the app working but my bootstrap styling does not display.

  1. The bootstrap files are all in their respective folders
  2. This is my application.css
*= require_self
    *= require_tree

   body {
    padding-top: 40px;
   }

   .alert {
    margin-top: 10px;
   }
  1. My application.html.erb does contain the stylesheet link tag
    <%= stylesheet_link_tag "application", :media => "all" %>

I'm running rails v 3.2.6 on OSX Mavericks

Thanks ahead of time for the assistance

1 Answer

+1