diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2024-10-02 17:31:31 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-11-08 12:06:30 +0000 |
| commit | 7f2db157320bd516132458fe56c492c3b02dec28 (patch) | |
| tree | 29de472193643fad2218397ccf040277feda8897 | |
| parent | 4d83f37ff75bc5819c02e37aafd403a00433ec96 (diff) | |
[rubygems/rubygems] Small tweak
https://github.com/rubygems/rubygems/commit/98641d21a2
| -rw-r--r-- | lib/bundler/lazy_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index ff942df503..a76eada4e7 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -108,7 +108,7 @@ module Bundler candidates = if use_exact_resolved_specifications?(most_specific_locked_platform) matching_specs else - target_platform = ruby_platform_materializes_to_ruby_platform?(most_specific_locked_platform) ? platform : local_platform + target_platform = source.is_a?(Source::Path) ? platform : local_platform installable_candidates = GemHelpers.select_best_platform_match(matching_specs, target_platform) |
