Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::CommandManager#unregister_command
unregister_command(command)
lib/rubygems/command_manager.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/command_manager.rb, line 127
def unregister_command(command)
@commands.delete command
end
Unregister the Symbol command as a gem command.