On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
Gem::Uninstaller
< Object
include Gem::InstallerUninstallerUtils
include Gem::UserInteraction
12 instance methods
1 class methods
An Uninstaller.
The uninstaller fires pre and post uninstall hooks. Hooks can be added either through a rubygems_plugin.rb file in an installed gem or via a rubygems/defaults/#{RUBY_ENGINE}.rb or rubygems/defaults/operating_system.rb file. See Gem.pre_uninstall and Gem.post_uninstall for details.
Class methods 1
Instance methods 12
Attributes
Read
The directory a gem’s executables will be installed into
Read
The gem repository the gem will be installed into
Read
The Gem::Specification for the gem being uninstalled, only set during uninstall_gem