End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Resolver::IndexSpecification#required_rubygems_version
required_rubygems_version
lib/rubygems/resolver/index_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/resolver/index_specification.rb, line 53
def required_rubygems_version
spec.required_rubygems_version || Gem::Requirement.default
end
The required_rubygems_version constraint for this specification
A fallback is included because the original version of the specification API didn’t include that field, so some marshalled specs in the index have it set to nil.