Skip to content

Commit

Permalink
Avoid deprecated Gem::Platform.match in Gem::Resolver::InstallerSet
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon authored and sophie-kaleba committed Jan 17, 2023
1 parent 4d37d8a commit 8296dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mri/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 8296dd7

Please sign in to comment.