class

Gem::Doctor

v2_6_3 - Show latest stable - Superclass: Object

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.

Included modules

  • Gem::UserInteraction

Constants

REPOSITORY_EXTENSION_MAP = [ # :nodoc:\n['specifications', '.gemspec'],\n['build_info', '.info'],\n['cache', '.gem'],\n['doc', ''],\n['extensions', ''],\n['gems', ''],\n].freeze

Files

  • lib/rubygems/doctor.rb