On Mon, Sep 19, 2011 at 2:43 PM, Alistair Holt <[email protected]>wrote:
> Agreed. I must say this is *extremely* confusing. There seem to be no > decent explanations in the docs or anywhere else. Why > would config.serve_static_assets need changing to be true when we are told > "Apache or nginx will already do this"? Should I actually be setting up > Nginx to serve the files in the vendor/assets directory? I don't know how > this would work when the helper appears to believe it's going to find > bootstrap.css in public/assets/. * Adding "*= require bootstrap" to app/assets/stylesheets/application.css.scss * making sure precompilation (bundle exec rake asset:precompile) happens at the time of deployment will produce a single application-cache-buster.css file in publis/assets/ where the web server expects to find it. As a simple reference, this is the commit where I activated bootstrap working with the asset pipeline: https://github.com/petervandenabeele/base_app/commit/d866a356abb8d07d9d782065573272a6ce45c981 HTH, Peter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

