ruby - Puma configuration file precedence -
i'd take advantage of puma's automatic loading of environment-specific config (i.e. config/puma/<environment>.rb
) i'd have common (to environments) config well. @ moment i'm using undocumented _load_from
puma dsl pull in config/puma.rb
config/puma/<environment>.rb
wonder if there's better way it. has else tackled problem , approach did take?
future mike here year more of ruby experience. looking @ configuration#load method, there doesn't seem straightforward of accomplishing this. choose environment-based config file if 1 exists, falling on global config file. evanphx added public dsl#load dsl in february you're trying _load_from, might best route.
Comments
Post a Comment