Hello,
I want to start my rails application in production mode. But for some
reason
in spite of uncommenting this line in ‘config/environment.rb’
ENV[‘RAILS_ENV’] ||= ‘production’
when I run ‘ruby script\console’ it says loading development mode.
Also, the webrick sends log messages to development.log file instead of
production.log, from which I can guess that it is in development mode.
Any hint or clue on what might I be doing wrong.
Thanks for your time.
Surendra S.
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| “War is Peace! Freedom is Slavery! Ignorance is Strength!”
| – Orwell, 1984, 1948
`----