Type:
Class
Constants:
REPOSITORY_EXTENSION_MAP : [ # :nodoc: ['specifications', '.gemspec'], ['build_info', '.info'], ['cache', '.gem'], ['doc', ''], ['gems', ''], ]

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

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.

new
  • References/Ruby on Rails/Ruby/Classes/Gem/Gem::Doctor

new(gem_repository, dry_run = false) Class Public methods Creates a new

2025-01-10 15:47:30
gem_repository?
  • References/Ruby on Rails/Ruby/Classes/Gem/Gem::Doctor

gem_repository?() Instance Public methods Are we doctoring a gem repository

2025-01-10 15:47:30
doctor
  • References/Ruby on Rails/Ruby/Classes/Gem/Gem::Doctor

doctor() Instance Public methods Cleans up uninstalled files and invalid gem

2025-01-10 15:47:30