post_uninstall(&hook) Class Public methods Adds a post-uninstall hook that will be passed a Gem::Uninstaller instance and the spec that was uninstalled when Gem::Uninstaller#uninstall is called
pre_install(&hook) Class Public methods Adds a pre-install hook that will be passed an Gem::Installer instance when Gem::Installer#install is called. If the hook returns false then the install will be aborted.
pre_reset(&hook) Class Public methods Adds a hook that will get run before Gem::Specification.reset is run.
pre_uninstall(&hook) Class Public methods Adds a pre-uninstall hook that will be passed an Gem::Uninstaller instance and the spec that will be uninstalled when Gem::Uninstaller#uninstall is called
prefix() Class Public methods The directory prefix this RubyGems was installed at. If your prefix is in a standard location (ie, rubygems is installed where you'd expect it to be), then prefix returns nil.
read_binary(path) Class Public methods Safely read a file in binary mode on all platforms.
refresh() Class Public methods Refresh available gems from disk.
register_default_spec(spec) Class Public methods Register a Gem::Specification for default gem
remove_unresolved_default_spec(spec) Class Public methods Remove needless Gem::Specification of default gem from unresolved default gem list
ruby() Class Public methods The path to the running Ruby interpreter.
Page 367 of 11844