aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-01-04 15:49:50 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-01-04 15:49:50 +0100
commit13d3a76a932be857adf34bb971fba7dab0d88237 (patch)
tree79cbfd0ee22589139bb978815198ddf81f2ad149 /lib
parent3e03ed90880f1c8e54138afe16f990569a8f75e3 (diff)
downloadcapistrano-refinerycms-13d3a76a932be857adf34bb971fba7dab0d88237.tar.gz
capistrano-refinerycms-13d3a76a932be857adf34bb971fba7dab0d88237.tar.bz2
capistrano-refinerycms-13d3a76a932be857adf34bb971fba7dab0d88237.zip
Create share config dir before using it.
Diffstat (limited to 'lib')
-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