Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Rails to display development style errors in production

I deployed a Rails 3.0.3 app to my production server and it's giving me a 500 error. This is being deployed on Dreamhost, so I looked in the logs for my domain and there is nothing and the logs for my app also show nothing.

How do I get Rails displaying actual error messages in production so I can sort this out?

like image 276
mikewilliamson Avatar asked Jan 16 '11 23:01

mikewilliamson


1 Answers

Try changing the consider_all_requests_local setting in environments/production.rb.

like image 104
TK-421 Avatar answered Oct 25 '22 04:10

TK-421