I can't start my app in production mode

I uncommented this line in config/environment.rb:

ENV['RAILS_ENV'] ||= 'production'

I switched the WEBrick server to production in Aptana RadRails. And still, when I click on the "About..." link, I get the following error:

Routing Error

no route found to match "/rails/info/properties" with {:method=>:get}

It happens also with Phusion Passenger. What am I doing wrong? It seems not to work right.

I'm using Aptana Studio 1.1 with RadRails 1.0 and Rails 1.2.

Later...

The Neurochild

I uncommented this line in config/environment.rb:

ENV['RAILS_ENV'] ||= 'production'

I switched the WEBrick server to production in Aptana RadRails. And still, when I click on the "About..." link, I get the following error:

Routing Error

no route found to match "/rails/info/properties" with {:method=>:get}

It happens also with Phusion Passenger. What am I doing wrong? It seems not to work right.

That's normal. The /rails/info stuff isn't available in production mode.

Fred

Thank God! I thought it was a bug.

Thanks, man!