I've been everywhere today looking for the way to properly set my RAILS_ENV for Passenger. I want to use the test environment now that the site is on my server, but I don't want it to be production because I'm having database issues.
I've been directed to this part of the documentation, but it didn't make any sense to me. I had PassengerAppEnv RAILS_ENV = 'test'
in my Apache .conf file for the site and -- as expected -- that didn't' work.
I've also set RAILS_ENV = 'test'
in config/environment.rb
of my Rails site, but that didn't work either.
Thanks!