Support RAILS_ENV too not just RACK_ENV.