On Mon, Sep 19, 2011 at 2:10 PM, Alistair Holt <[email protected]>wrote:

> Thanks Tim. Perhaps theres something I'm missing...
>
>    - Do plain CSS/JS files need to go through pre-compilation? And if so,
>    do they really have to be manually specified in application config?
>    - Shouldn't Rails' stylesheet_link_tag helper be looking in
>    /vendor/assets/stylesheets as well as public/assets/stylesheets?
>
> The error I get in production is: ActionView::Template::Error
> (bootstrap.css isn't precompiled)
>
> Surely bootstrap.css will never be precompiled and end up in public/assets
> if it's just plain old CSS?
>

If you include the bootstrap in .css form (e.g.
from arunagw/css-bootstrap-rails as I have done),
It is not "precompiled" in the sense of LESS, but there is some processing
in that the
bootstrap.css is joined with my customer .css and some whitespace is removed
in a single file:

  application-c77014c7bfe7a5dbbc172cd8a685b53a.css

So for the aspect of removing the _number_ of asset files, there is
certainly some processing
that is done.

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.

Reply via email to