Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Commands::UninstallCommand#execute
execute
lib/rubygems/commands/uninstall_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/commands/uninstall_command.rb, line 125
def execute
check_version
# Consider only gem specifications installed at `--install-dir`
Gem::Specification.dirs = options[:install_dir] if options[:install_dir]
if options[:all] && !options[:args].empty?
uninstall_specific
elsif options[:all]
uninstall_all
else
uninstall_specific
end
end
No documentation available