Is it necessary to add ENV[''RAILS_ENV''] ||= ''production'' in rails 2.3.x environment.rb? It''s not there by default anymore. -- Posted via http://www.ruby-forum.com/.
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 marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
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 > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.orgI see. Thanks. -- Posted via http://www.ruby-forum.com/.