Properly set :rails_env