env=(environment)
Sets the Rails environment.
Rails.env = "staging" # => "staging"
# File railties/lib/rails.rb, line 82 def env=(environment) @_env = ActiveSupport::EnvironmentInquirer.new(environment) end