anjlab / bootstrap-rails

Twitter Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects
https://github.com/anjlab/bootstrap-rails
729 stars 96 forks source link

css files not included in application.css #12

Closed qichunren closed 12 years ago

qichunren commented 12 years ago

I followed README to add

    *= require bootstrap

to app/assets/stylesheets/application.css,then rails s to run app, view html source, found bootstrap css not included in application.css.

I found in http://localhost:3000/assets/application.css?body=1 file, there is :

/*
 * This is a manifest file that'll automatically include all the stylesheets available in this directory
 * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
 * the top of the compiled file, but it's generally better to create a new file per style scope.
*/

*= require bootstrap
mike-park commented 12 years ago

I think your require needs to be part of the first comment.

/*

qichunren commented 12 years ago

very nice.Thank you.