I’m attempting to get running with Selenium, and to do so you have to start script/server -e test. However, I’ve noticed that when I start mongrel that way RAILS_ENV is still set to “development”, even though the mongrel startup messages in the console say that it’s starting rails with test.
However, if I start mongrel with mongrel_rails -e test, RAILS_ENV gets correctly set to test.
Can anyone else verify that this is going on? I’ve been through the script/server code and subsequent mongrel startup scripts and I haven’t managed to find where it’s gone wrong yet…