You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set a configuration file in config/puma/development.rb using different thread values
Run RACK_ENV=development puma start
Notice that the thread counts are not the one you've set in the config
Run puma -e development and it should work
Expected behavior
I think puma should respect the RACK_ENV and load the correct environment config file.
We can read in the README:
If no configuration file is specified, Puma will look for a configuration file at config/puma.rb. If an environment is specified, either via the -e and --environment flags, or through the RACK_ENV environment variable, the default file location will be config/puma/environment_name.rb.
Steps to reproduce
Set a configuration file in
config/puma/development.rb
using different thread valuesRun RACK_ENV=development puma start
Notice that the thread counts are not the one you've set in the config
Run
puma -e development
and it should workExpected behavior
I think puma should respect the
RACK_ENV
and load the correct environment config file.We can read in the README:
System configuration
Ruby version: 2.3.1
Rails version: 5.1 stable
Puma version: 3.10
The text was updated successfully, but these errors were encountered: