lib/rubygems/resolver.rb in rubygems-update-3.3.22 vs lib/rubygems/resolver.rb in rubygems-update-3.3.23
- old
+ new
@@ -244,10 +244,10 @@
activation_requests = []
sources.each do |source|
groups[source].
- sort_by {|spec| [spec.version, Gem::Platform.local =~ spec.platform ? 1 : 0] }.
+ sort_by {|spec| [spec.version, spec.platform =~ Gem::Platform.local ? 1 : 0] }.
map {|spec| ActivationRequest.new spec, dependency }.
each {|activation_request| activation_requests << activation_request }
end
activation_requests