diff options
author | Andre Arko <website+github.com@arko.net> | 2011-05-03 01:46:03 -0700 |
---|---|---|
committer | Andre Arko <website+github.com@arko.net> | 2011-05-03 01:46:03 -0700 |
commit | 09952dde7bf2144861f00b5e152f8efa825b44d7 (patch) | |
tree | 26a4f8f2e450c4cd4fcdc90d96c00dd3c8674eb2 | |
parent | 463bccfc40981284f46ce0ee328083916fa2a6c6 (diff) | |
parent | 295b06795d71993e4953734a0d2a21e90ae60067 (diff) | |
download | bundler-09952dde7bf2144861f00b5e152f8efa825b44d7.tar.gz |
Merge pull request #1003 from martinjagusch/1-0-stable.
Fix deployment task
-rw-r--r-- | lib/bundler/deployment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/deployment.rb b/lib/bundler/deployment.rb index d51c628172..727f357e7e 100644 --- a/lib/bundler/deployment.rb +++ b/lib/bundler/deployment.rb @@ -45,7 +45,7 @@ module Bundler args << bundle_flags.to_s args << "--without #{bundle_without.join(" ")}" unless bundle_without.empty? - run "#{bundle_cmd} install #{args.join(' ')}" + run "cd #{context.fetch(:current_release)} && #{bundle_cmd} install #{args.join(' ')}" end end end |