DEV: if tmp is missing create it

Some scripts and people may be nuking the entire tmp folder
This commit is contained in:
Sam Saffron 2019-11-20 09:29:34 +11:00
parent dd89a13e22
commit 9652fdd111
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ def ensure_cache_clean!
puts
end
FileUtils.mkdir_p(RAILS_ROOT + "/tmp")
File.write(hash_file, supersha_hash)
end