aboutsummaryrefslogtreecommitdiffstats
path: root/lib/capistrano/tasks/refinerycms.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/capistrano/tasks/refinerycms.rake')
-rw-r--r--lib/capistrano/tasks/refinerycms.rake1
1 files changed, 1 insertions, 0 deletions
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