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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
kernel panic
2011-Dec-21 19:11 UTC
Re: ''application.css isn''t precompiled'' ... but it is
Enabling digests fixed this for me. On Wed, Dec 21, 2011 at 10:55 AM, kernel panic <knl.panic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.