NoMethodError with custom RAILS_ENV

Hi,

I've just deployed my application to staging server, using
RAILS_ENV=staging (Ruby 1.8.7, mod_rails). The application works fine
in production (using setup as above), but I keep on getting this error
(both in mod_rails and WEBrick):

Processing ApplicationController#index (for 79.184.115.252 at
2009-02-21 09:13:47) [GET]

NoMethodError (undefined method `+' for nil:NilClass):

Any ideas?

Regards,
Filip Tepper

Hi,

I've just deployed my application to staging server, using
RAILS_ENV=staging (Ruby 1.8.7, mod_rails). The application works fine
in production (using setup as above), but I keep on getting this error
(both in mod_rails and WEBrick):

I'd start by looking at the backtrace to see where that error occurs.

Fred

On which platform r u deploying your application?

No backtrace! Just this error!

Regards,
Filip Tepper

Debian, tried both 4.0 and 5.0. Local deployment on OS X 10.5.6.

Regards,
Filip Tepper