Cleans up after a partially-failed uninstall or for an invalid Gem::Specification.

If a specification was removed by hand this will remove any remaining files.

If a corrupt specification was installed this will clean up warnings by removing the bogus specification.


Maps a gem subdirectory to the files that are expected to exist in the subdirectory.

Class Methods

Creates a new Gem::Doctor that will clean up gem_repository. Only one gem repository may be cleaned at a time.

If dry_run is true no files or directories will be removed.

Instance Methods

Cleans up uninstalled files and invalid gem specifications

Are we doctoring a gem repository?