changes RAILS_ENV to Rails.env