Forum: Ruby on Rails I can't start my app in production mode

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ed3050ec0a96c03ef1304e7ad1ff46fb?d=identicon&s=25 The Neurochild (Guest)
on 2008-10-27 22:03
(Received via mailing list)
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
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2008-10-27 23:00
(Received via mailing list)
On 27 Oct 2008, at 21:00, The Neurochild wrote:

> 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
Ed3050ec0a96c03ef1304e7ad1ff46fb?d=identicon&s=25 The Neurochild (Guest)
on 2008-10-27 23:06
(Received via mailing list)
Thank God! I thought it was a bug.

Thanks, man!
This topic is locked and can not be replied to.