Skip to content
Browse files

removed duplicate relative path from cap bundle install call

  • Loading branch information...
1 parent b3e9c1a commit fabce69a0b33f473d418c2c82344841f06e324f9 Gerwin Brunner committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/deployment.rb
View
2 lib/bundler/deployment.rb
@@ -45,7 +45,7 @@ def self.define_task(context, task_method = :task, opts = {})
if current_release.to_s.empty?
raise error_type.new("Cannot detect current release path - make sure you have deployed at least once.")
end
- args = ["--gemfile #{File.join(current_release, bundle_gemfile)}"]
+ args = ["--gemfile #{bundle_gemfile}"]
args << "--path #{bundle_dir}" unless bundle_dir.to_s.empty?
args << bundle_flags.to_s
args << "--without #{bundle_without.join(" ")}" unless bundle_without.empty?

0 comments on commit fabce69

Please sign in to comment.
Something went wrong with that request. Please try again.