aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy.rb
diff options
context:
space:
mode:
authorAlban Peignier2017-06-30 09:24:46 +0200
committerAlban Peignier2017-06-30 09:24:46 +0200
commitac1ef02df31dfbb96b196dea107c98b935f3c997 (patch)
treec1e1a74be2907a82f792d111311f4a5d0b2a0da5 /config/deploy.rb
parente7004f4af37b5f286cd2566e285cde5ab56bd2cb (diff)
downloadchouette-core-ac1ef02df31dfbb96b196dea107c98b935f3c997.tar.bz2
Create bin directory before create bin/bundle link
Diffstat (limited to 'config/deploy.rb')
-rw-r--r--config/deploy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 0445ec480..4ab888e92 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -51,7 +51,7 @@ namespace :deploy do
end
task :bundle_link do
- run "ln -fs #{bundle_cmd} #{release_path}/bin/bundle"
+ run "mkdir -p #{release_path}/bin && ln -fs #{bundle_cmd} #{release_path}/bin/bundle"
end
after "bundle:install", "deploy:bundle_link"