fixed RAILS_ENV