Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Uninstaller#warn_cannot_uninstall_default_gems
warn_cannot_uninstall_default_gems(specs)
lib/rubygems/uninstaller.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/uninstaller.rb, line 435
def warn_cannot_uninstall_default_gems(specs)
specs.each do |spec|
say "Gem #{spec.full_name} cannot be uninstalled because it is a default gem"
end
end
No documentation available