module Rails

def env=(environment)

Rails.env = "staging" # => "staging"

Sets the Rails environment.
def env=(environment)
  @_env = ActiveSupport::EnvironmentInquirer.new(environment)
end