Permalink
Browse files

should just use fetch directly

  • Loading branch information...
1 parent b6db665 commit 4cbdec660123e3ce08ad97c71be6e3832138dbb6 Alex Arnell committed with indirect Apr 6, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/bundler/capistrano.rb
@@ -7,6 +7,5 @@
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

0 comments on commit 4cbdec6

Please sign in to comment.