Use RACK_ENV instead of RAILS_ENV