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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -