oo00oo
1
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 ?
oo00oo
2
Someone could help me please ?
oo00oo
3
On 3/4/06, oo00oo [email protected] 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.