I am trying to follow this twitter bootstrap tutorial and have run into a small problem
http://ruby.railstutorial.org/chapters/filling-in-the-layout#sec:custom_css
It is clear that bootstrap is being imported (buttons are styled, navbar appears. But, changes that I make in custom.css.scss are not being reflected in my layout. Specifically, I have added
body {
padding-top: 60px;
}
to try and make it so my navbar doesn't obscure the top part of my page content. This hasn't done anything though. Don't really know what code it would be best to post here for debugging purposes, but here's application.css
*= require_self
*= require_tree .
and I have included
@import "bootstrap";
at the beginning of custom.css.scss.
Is there anything obvious I'm missing here? Thanks for the help.
rake assets:clean. If this fails, try like this: railsapps.github.com/twitter-bootstrap-rails.htmlrake assets:cleandidn't work for me... help!?