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.

Attributes
Read

The directory a gem’s executables will be installed into

Read

The gem repository the gem will be uninstalled from

Read

The Gem::Specification for the gem being uninstalled, only set during uninstall_gem

Class Methods

Constructs an uninstaller that will uninstall gem

Instance Methods
No documentation available

@return true if the specs of any default gems are ‘==` to the given `spec`.

@return [Array] specs of default gems that are ‘==` to the given `spec`.

Is spec in gem_dir?

No documentation available

Regenerates plugin wrappers after removal.

spec

the spec of the gem to be uninstalled

Removes all gems in list.

NOTE: removes uninstalled gems from list.

Removes installed executables and batch files (windows only) for spec.

No documentation available
No documentation available
No documentation available

Performs the uninstall of the gem. This removes the spec, the Gem directory, and the cached .gem file.

Uninstalls gem spec

No documentation available