fix wrong RAILS_ENV