Module PhusionPassenger::Standalone::ConfigUtils
In: src/ruby_supportlib/phusion_passenger/standalone/config_utils.rb

Methods

Classes and Modules

Class PhusionPassenger::Standalone::ConfigUtils::ConfigLoadError

Public Class methods

Public Instance methods

We want the command line options to override the options in the local config file, but the local config file could only be parsed when the command line options have been parsed. This method remerges all the config options from different sources so that options are overriden according to the following order:

  • CONFIG_DEFAULTS
  • global config file
  • local config file
  • environment variables
  • command line options

[Validate]