ruby script/server not reading RAILS_ENV option
Posted
by iwan
on Stack Overflow
See other posts from Stack Overflow
or by iwan
Published on 2010-05-10T00:33:47Z
Indexed on
2010/05/10
0:38 UTC
Read the original article
Hit count: 724
Hello,
I tried to run
ruby script/server RAILS_ENV=production
but somehow it always try to read "development" config.. nothings wrong with RAKE XXX RAILS_ENV=production (trying to read production config).
Any idea how to troubleshoot?
I have my other rails app in the same machine and it works fine. The problem above only happen for redmine rails.
Thanks in advance. -iwan
© Stack Overflow or respective owner