Rack::Config::Flexible is an alternative to Rack::Config, offering much greater flexibility. Configuration options are stored as key-value pairs in _sections_, partitioned by _environments_. For example: + environment + section key -> value pairs A simple DSL is provided and can be used either within a passed configuration block (to ::new), or to the #configuration method. Facilities are also provided to load whole environments, and sections from either a single YAML file structured like, or from a directory tree. See the README file or RDoc documentation for more info.
Gemfile gem 'rack-config-flexible', '~> 0.1.4'
install gem install rack-config-flexible