Hello, I want to put my app in production mode. So I write this line in environment.rb : ENV['RAILS_ENV'] = "production" I restart webrick. If I write <%= ENV.inspect %> I have the correct "RAILS_ENV"=>"production" But browse my site and look the log, the development.log is still growing and the production.log stay to 0 ko Why ?
on 2006-03-03 11:45
on 2006-03-04 09:13
Someone could help me please ?
on 2006-03-05 08:07
On 3/4/06, oo00oo <email@example.com> wrote: > > But browse my site and look the log, the development.log is still > > growing and the production.log stay to 0 ko > > > > Why ? > > > If you're using WEBrick, you can do: ruby script/server -e production If you're using FastCGI or SCGI, typically you put the RAILS_ENV setting the CGI configuration.