I've created super simple rails app
rails test cd test/ script/generate controller home index rm public/index.html # uncommented map.root :controller => "home" in config/routes.rb
When I run app in development mode, it works just fine and everything get logged
<VirtualHost *:80> DocumentRoot /opt/rails/test/public ErrorLog /opt/rails/test/log/error.log CustomLog /opt/rails/testlog/access.log combined RailsEnv development </VirtualHost>
but when I change to RailsEnv production,
I get this ugly error page
We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.
and there is absolutely nothing in either error.log or production.log, however, in access.log, I can see the request being logged.
I'm running Ubuntu x64 Jaunty.