From 11976baadaa5104c515e67ba33835ed710aef347 Mon Sep 17 00:00:00 2001 From: Vraj Mohan Date: Thu, 21 Mar 2024 10:45:09 -0700 Subject: [PATCH] Ensure that the pids directory is present for puma Uses the same strategy that a `rails new project` would employ. --- .gitignore | 7 ++++++- tmp/pids/.keep | 0 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tmp/pids/.keep diff --git a/.gitignore b/.gitignore index 602124f201d..d32fecb2b2d 100644 --- a/.gitignore +++ b/.gitignore @@ -77,6 +77,11 @@ Vagrantfile .yardoc /doc/ +# Ignore pidfiles, but keep the directory. +/tmp/pids/* +!/tmp/pids +!/tmp/pids/.keep + package-lock.json browsers.json Brewfile.lock.json @@ -98,4 +103,4 @@ saml_*.key **/node_modules yarn-debug.log* yarn-error.log* -.yarn-integrity \ No newline at end of file +.yarn-integrity diff --git a/tmp/pids/.keep b/tmp/pids/.keep new file mode 100644 index 00000000000..e69de29bb2d