Allow setting of rails_env.