I’m attempting to deploy my rails application w/ puma using Capistrano. Towards the end ofthe deployment it attempts to run
bundle exec pumactl -S /home/deployer/production/shared/sockets/puma.state restart
which fails w/
undefined method `has_key?' for false:FalseClass.
I have simply created a empty file for puma.state. My question is what exactly is this file and what is supposed to be in it?
Puma has a state file that records the PID of the process. If you are deploying for the first time, you should delete the .state file, and do a
cap deploy:coldor, you can start puma manually using something like
cap puma:startThis will start the process and create a valid state file. Here is my puma start command in capistrano: