-
-
Notifications
You must be signed in to change notification settings - Fork 25
Manually Specifying Settings Files
Jeff Felchner edited this page Jan 14, 2018
·
3 revisions
Using convention over configuration, Chamber handles the 90% case by default, however there may be times at which you would like to explicitly specify which settings files are loaded. In these cases, Chamber has you covered:
Chamber.load files: [
'/path/to/my/application/chamber/settings.yml',
'/path/to/my/application/application*.yml',
'/path/to/my/application/chamber/*.yml',
]
In this case, Chamber will load only the settings.yml
file without ever
looking for a namespaced file. Then it will load application.yml
and any
associated namespaced files. Finally it will load all *.yml files in the
chamber
directory except settings.yml
because it has previously been
loaded.
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