diff options
author | Martin Jagusch <m@martinjagusch.com> | 2011-02-01 12:13:04 +0100 |
---|---|---|
committer | Martin Jagusch <m@martinjagusch.com> | 2011-02-01 12:13:04 +0100 |
commit | 64d589f06972d516c6594a4fbc6f5470470ff408 (patch) | |
tree | 88c61784c4917b6e825fe0e448f95d7c6cd55357 /lib/bundler/deployment.rb | |
parent | 63a5b62ce1d7acacf87749e94ad1bda1624e0009 (diff) | |
download | bundler-64d589f06972d516c6594a4fbc6f5470470ff408.tar.gz |
Fix update_code task to run bundle command in current release path. Issue occurs when gems with a relative path are defined
Diffstat (limited to 'lib/bundler/deployment.rb')
-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..c9a48939e6 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 |