Enabling digests fixed this for me.

On Wed, Dec 21, 2011 at 10:55 AM, kernel panic <[email protected]> wrote:

> Hi,
>
> I'm getting the following error when I try to load a page when I have
> config.assets.precompile set to false:
>
> Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError:
> application.css isn't precompiled
>
> In my config/environments/production.rb, I have:
>
>  config.assets.manifest = Rails.root.join("public/assets")
>
> And I have verified that public/assets/application.css and
> application.css.gz are both in fact there with the correct contents.
> And also verified that they are readable by the server.
>
> But I'm still getting the error:  ActionView::Template::Error
> (application.css isn't precompiled)
>
> I'm running ruby 1.9.2, rails 3.1.3 in production mode, and passenger
> 3.0.11.
>
> Thoughts?
>
> Thanks.
>
> --
> 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.
>
>

-- 
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