Rails 2.3.x and production mode

Is it necessary to add ENV[‘RAILS_ENV’] ||= ‘production’ in rails 2.3.x
environment.rb? It’s not there by default anymore.

Pål Bergström wrote:

Is it necessary to add ENV[‘RAILS_ENV’] ||= ‘production’ in rails 2.3.x
environment.rb? It’s not there by default anymore.

It’s only necessary if you can’t set environment variables on the system
you’re running on.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Marnen Laibow-Koser wrote:

It’s only necessary if you can’t set environment variables on the system
you’re running on.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

I see. Thanks.