Getting "development" errors in production mode

I have a strange problem: I start my server in working mode, everything is fine, but I continue to receive error messages as they appear in development mode. So, for example, instead of page 404, I get "No route matches" / foo "with {: method =>: get}". In addition, the “exception notification” has stopped sending exceptions.

I put <% = "Environment: # {RAILS_ENV}"%> in the view to double check that I am definitely in working mode, which is true. This has never happened before.

I am on rails 2.3.8 on a shared server on which the passenger works.

Thanks for any help,

Ron

+2
source share
2 answers

It sounds like this one: http://code.google.com/p/phusion-passenger/issues/detail?id=109

The general recommendation is to remove config.ru from the root of your application. This seems to have confused the Passenger a bit.

0
source

Updating your Phusion Passenger seems to be the solution.

0
source

All Articles