did you get a solution to this? i'm getting the same error. On Sep 6, 5:45 pm, Karl <[email protected]> wrote: > Updating an all to rails 3.1, on cedar stack. Works find in production > mode on my dev machine. > > Read the Heroku page on Rails 3.1, but it provided no help. > > The first time I hit a page that uses 'application.css' (pretty much > all the pages), the following error appears in the Heroku logs: > > 2011-09-06T16:38:41+00:00 app[web.1]: ActionView::Template::Error > (application.css isn't precompiled): > 2011-09-06T16:38:41+00:00 app[web.1]: 1: = stylesheet_link_tag > 'application', :media => 'screen, projection' > > Relevant setting in production.rb (everything is default except): > config.assets.compile = false > config.action_dispatch.x_sendfile_header = nil # as per Heroku > support > config.force_ssl = true > config.action_controller.asset_host = "https:// > mybucket.s3.amazonaws.com" > > OK, I'm at a loss here. Rails should be attempting to load > 'application.css' from S3, not looking for a local, precompiled copy. > > Fixes?
-- You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en.
