rails assets give TypeError (can't dup NilClass)

Posted by paleozogt on Stack Overflow See other posts from Stack Overflow or by paleozogt
Published on 2012-04-10T23:23:57Z Indexed on 2012/04/10 23:29 UTC
Read the original article Hit count: 469

I have a rails 3 app that works fine when run under rails s. However, when trying to deploy it to apache2 with fcgi, the asset pipeline breaks. For example, when trying to request /assets/logo.png the log will show:

Started GET "/assets/logo.png" for 10.50.10.249 at Tue Apr 10 19:20:39 -0400 2012

TypeError (can't dup NilClass):

This happens on either the production or development environments.

How can I debug this?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby-on-rails-3