ruby script/server not reading RAILS_ENV option
- by iwan
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