Skip to content

Commit 7f2db15

Browse files
deivid-rodriguezmatzbot
authored andcommitted
[rubygems/rubygems] Small tweak
ruby/rubygems@98641d21a2
1 parent 4d83f37 commit 7f2db15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bundler/lazy_specification.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def materialize_for_installation(most_specific_locked_platform = nil)
108108
candidates = if use_exact_resolved_specifications?(most_specific_locked_platform)
109109
matching_specs
110110
else
111-
target_platform = ruby_platform_materializes_to_ruby_platform?(most_specific_locked_platform) ? platform : local_platform
111+
target_platform = source.is_a?(Source::Path) ? platform : local_platform
112112

113113
installable_candidates = GemHelpers.select_best_platform_match(matching_specs, target_platform)
114114

0 commit comments

Comments
 (0)