End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Resolver#resolve
resolve
lib/rubygems/resolver.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/resolver.rb, line 188
def resolve
locking_dg = Molinillo::DependencyGraph.new
Molinillo::Resolver.new(self, self).resolve(@needed.map {|d| DependencyRequest.new d, nil }, locking_dg).tsort.map(&:payload).compact
rescue Molinillo::VersionConflict => e
conflict = e.conflicts.values.first
raise Gem::DependencyResolutionError, Conflict.new(conflict.requirement_trees.first.first, conflict.existing, conflict.requirement)
ensure
@output.close if defined?(@output) && !debug?
end
Proceed with resolution! Returns an array of ActivationRequest objects.
See also
#requirement_satisfied_by?
#search_for
#output
#sort_dependencies
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0