lib/alpha_omega/deploy.rb in alpha_omega-0.0.154 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.155
- old
+ new
@@ -581,11 +581,11 @@
end # :deploy
namespace :ruby do
task :bundle do
run_script = <<-SCRIPT
- set -e; cd #{current_release};
+ set -e; cd #{deploy_release};
SCRIPT
run_script += <<-SCRIPT
#{ruby_loader} bundle check 2>&1 > /dev/null || { #{ruby_loader} bundle install --quiet --local #{bundler_options} && #{ruby_loader} bundle check > /dev/null; };
SCRIPT
@@ -597,10 +597,10 @@
after "deploy:bundle", "ruby:bundle"
namespace :node do
task :bundle do
run_script = <<-SCRIPT
- set -e; cd #{current_release};
+ set -e; cd #{deploy_release};
SCRIPT
run_script += <<-SCRIPT
npm install;
SCRIPT