-
-
Notifications
You must be signed in to change notification settings - Fork 25
Specifying Multiple Namespaces
jfelchner edited this page Oct 27, 2014
·
1 revision
Multiple namespaces can be defined by passing multiple items to the loader:
Chamber.load( :basepath => Rails.root.join('config'),
:namespaces => {
:environment => ::Rails.env,
:hostname => ENV['HOST'] } )
When accessed within the test
environment on a system named tumbleweed
, it
will load the following files in the following order:
settings.yml
settings-test.yml
settings-tumbleweed.yml
If a file does not exist, it is skipped.
Copyright ©2023
- Release News
- Gem Comparison
- 12-Factor App Rebuttal
- Environment Variable Problems
- Installation
- Basics
- Defining Settings
- Accessing Settings
- Verifying Settings
- Namespaces
- Environment Variables
- Integrations
- Encryption
- Advanced Usage
- Command Line Reference