Sets CONFIG_ROOT to RAILS_ROOT/config unless it has already been defined (i.e. in rails env, or calling ruby app).
ENV TIER i.e. (development, integration, staging, or production) Defaults to RAILS_ENV if running in Rails, otherwise, it checks if ENV[‘TIER’] is present. If not, it assumes production.
yml, yaml => yaml files, parsable by YAML library
xml => self-explanatory
conf, properties =>
The type of file used for config. Valid choices include (yml, yaml, xml, conf, config, properties)
Use CONFIG_HOSTNAME environment variable to test host-based configurations.
Short Hostname: removes all chars from HOSTNAME, after first “.” Used to specify machine-specific config files.
This is an array of filename suffixes facilitates cascading configuration overrides (i.e. ‘services_local’, ‘services_development’). These files get loaded in the order of the array. Meaning the last file loaded overrides everything before it. So config files suffixed with hostname has the highest precedence, and therefore overrides everything. Example:
database_local.yml overrides database.yml database_staging.yml overrides database_local.yml database_appsvr01.yml overrides database_integration.yml
Used in place of undefined but expected arrays, to prevent creating a bunch of unecesary arrays in memory. See ConfigCore.fire_on_load
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.