End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Resolver::RequirementList#add
add(req)
lib/rubygems/resolver/requirement_list.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/resolver/requirement_list.rb, line 28
def add(req)
if req.requirement.exact?
@exact.push req
else
@list.push req
end
req
end
Adds Resolver::DependencyRequest req to this requirements list.