You can use namespaces to select an environment, and you can pretty easily define your environment method, but maybe this should be done for us.
Example:
ENV['EXAMPLE_ENV'] = 'production'
module ConfigModule
config_env :example
end
ConfigModule.env #=> "production"