change RAILS_ENV to Rails.env