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