aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/capistrano.rb
diff options
context:
space:
mode:
authorAlex Arnell <alex@bravenet.com>2011-04-06 12:50:23 -0700
committerAndre Arko <andre@arko.net>2011-04-06 12:57:34 -0700
commit4cbdec660123e3ce08ad97c71be6e3832138dbb6 (patch)
treeae54085a803335fbe90fa89ab18799b282feee8f /lib/bundler/capistrano.rb
parentb6db665adcc0c8bfd53fe85118c98e5bb5e83e60 (diff)
downloadbundler-4cbdec660123e3ce08ad97c71be6e3832138dbb6.tar.gz
should just use fetch directly
Diffstat (limited to 'lib/bundler/capistrano.rb')
-rw-r--r--lib/bundler/capistrano.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/capistrano.rb b/lib/bundler/capistrano.rb
index 24810382..e7f5534c 100644
--- a/lib/bundler/capistrano.rb
+++ b/lib/bundler/capistrano.rb
@@ -7,6 +7,5 @@ require 'bundler/deployment'
Capistrano::Configuration.instance(:must_exist).load do
after "deploy:update_code", "bundle:install"
Bundler::Deployment.define_task(self, :task, :except => { :no_release => true })
- bundle_cmd = context.fetch(:bundle_cmd, "bundle")
- set :rake, "#{bundle_cmd} exec rake"
+ set :rake, "#{fetch(:bundle_cmd, "bundle")} exec rake"
end