From 9652fdd111cb333bfcc956e4a1e4c91b3a3e8e2b Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Wed, 20 Nov 2019 09:29:34 +1100 Subject: [PATCH] DEV: if tmp is missing create it Some scripts and people may be nuking the entire tmp folder --- bin/unicorn | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/unicorn b/bin/unicorn index 38e238c1f3..a0bafc1981 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -30,6 +30,7 @@ def ensure_cache_clean! puts end + FileUtils.mkdir_p(RAILS_ROOT + "/tmp") File.write(hash_file, supersha_hash) end