Skip to content

Commit

Permalink
Merge pull request #6105 from eregon/patch-2
Browse files Browse the repository at this point in the history
Avoid deprecated Gem::Platform.match in Gem::Resolver::InstallerSet
  • Loading branch information
deivid-rodriguez committed Dec 8, 2022
2 parents f11febd + 05cb541 commit 823c776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/resolver/installer_set.rb
Expand Up @@ -66,7 +66,7 @@ def add_always_install(dependency)

found = found.select do |s|
Gem::Source::SpecificFile === s.source ||
Gem::Platform.match(s.platform)
Gem::Platform.match_spec?(s)
end

found = found.sort_by do |s|
Expand Down

0 comments on commit 823c776

Please sign in to comment.