End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::CommandManager.reset
reset
lib/rubygems/command_manager.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/command_manager.rb, line 99
def self.reset
@command_manager = nil
end
Reset the authoritative instance of the command manager.