Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Starting puma with rails s -d does not use config/puma.rb #1253
Steps to reproduce
Output is as expected:
Also htop shows puma running with 2 child processes each containing 4 threads each as expected.
Either the output or the log files should contain the same output that the configured processes/threads have been started or htop should show the same process structure as when started without -d.
The output is not shown. Also htop does not show the expected process structure. Instead it shows the standard process and thread info I see when I start rails server with puma without having any config/puma.rb - just one process, no child processes no threads started apart from the standard ones.
Ubuntu 16.04 LTS x64
Ruby version: ruby 2.3.3p222
Just came across this while upgrading a rails-4.2 app to rails-5.0. Rails-5.0 uses Puma for development by default instead of WebRick. It also seems that