Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
running puma-dev install silently wipes out previous plist settings on OSX #112
This bit me today, and had me chasing my tail for a couple of hours to figure out how I broke everything :D
say you run
because you have Apache or Nginx running on port 80, then promptly forget and want to configure the puma-dev idle time so you run
This will reset http-port in your plist file to 80. OS X will promptly reload the plist and start failing as it tries to restart every 10 seconds, with errors in the puma log that look like
and in the OSX system log as
If you're unfortunate enough to have installed puma-dev a while ago, it might take the user a while to track down and fix the problem.
What I suggest should happen to avoid this is that the already configured settings should not be reset unless explicitly passed in as a flag to the install command.