From 13d3a76a932be857adf34bb971fba7dab0d88237 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 4 Jan 2015 15:49:50 +0100 Subject: Create share config dir before using it. --- lib/capistrano/tasks/refinerycms.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/capistrano/tasks/refinerycms.rake b/lib/capistrano/tasks/refinerycms.rake index 29f4bd4..0574c93 100644 --- a/lib/capistrano/tasks/refinerycms.rake +++ b/lib/capistrano/tasks/refinerycms.rake @@ -39,6 +39,7 @@ namespace :deploy do on roles(:app) do unless test "[ -f #{output_file} ]" core = refinerycms_template('config_initializers_refinery_core.rb.erb') + execute :mkdir, '-p', File.dirname(output_file) upload!(core, output_file) end end -- cgit v1.2.3