End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Doctor#gem_repository?
gem_repository?
lib/rubygems/doctor.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/doctor.rb, line 61
def gem_repository?
!installed_specs.empty?
end
Are we doctoring a gem repository?