Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Commands::SetupCommand#uninstall_old_gemcutter
uninstall_old_gemcutter
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/setup_command.rb, line 555
def uninstall_old_gemcutter
require_relative "../uninstaller"
ui = Gem::Uninstaller.new("gemcutter", all: true, ignore: true,
version: "< 0.4")
ui.uninstall
rescue Gem::InstallError
end
No documentation available