summaryrefslogtreecommitdiff
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorGrey Baker <greysteil@gmail.com>2018-03-18 12:06:34 +0000
committerGrey Baker <greysteil@gmail.com>2018-03-18 12:06:34 +0000
commit25be4c9f5e1d61e782f4599cece08ba1bc8c7bac (patch)
treefc2e14822219cceaafc6b1e628aa2cd52d9104f4 /lib/bundler/definition.rb
parentff6b8712a0337305ba9617e35545b9e8f8cd4a53 (diff)
downloadbundler-25be4c9f5e1d61e782f4599cece08ba1bc8c7bac.tar.gz
Handle updating a specific gem for a non-local platform
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index a50806ba4b..91d34ad150 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -120,8 +120,8 @@ module Bundler
@source_changes = converge_sources
unless @unlock[:lock_shared_dependencies]
- eager_unlock = expand_dependencies(@unlock[:gems])
- @unlock[:gems] = @locked_specs.for(eager_unlock).map(&:name)
+ eager_unlock = expand_dependencies(@unlock[:gems], true)
+ @unlock[:gems] = @locked_specs.for(eager_unlock, [], false, false, false).map(&:name)
end
@dependency_changes = converge_dependencies