获得“开发”生产模式错误 [英] Getting "development" errors in production mode
问题描述
我将<%=Environment:#{RAILS_ENV}%>放入视图中,以便仔细检查我确实在生产模式,这是真的。从来没有这样。
我在一个共享服务器上的轨道2.3.8,正在运行乘客。
Ron
升级Phusion乘客似乎是解决方案。
I'm having a strange problem: I'm running my server in production mode, everything is fine, but I keep getting error messages like they appear in development mode. So for example instead of a 404 page, I'm getting "No route matches "/foo" with {:method=>:get}". Also "exception notifier" stopped sending exceptions.
I put <%= "Environment: #{RAILS_ENV}" %> into a view, to double-check I am definitly in production mode, which is true. Never had this before.
I'm on rails 2.3.8 on a shared server, running passenger.
Thanks for any help,
Ron
upgrading your Phusion Passenger seems to be the solution.
这篇关于获得“开发”生产模式错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!