pre_install

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.

post_uninstall

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

post_reset

post_reset(&hook) Class Public methods Adds a hook that will get run after Gem::Specification.reset is run.

post_install

post_install(&hook) Class Public methods Adds a post-install hook that will be passed an Gem::Installer instance when Gem::Installer#install is called

post_build

post_build(&hook) Class Public methods Adds a post-build hook that will be passed an Gem::Installer instance when Gem::Installer#install is called. The hook is called after the gem has been extracted and extensions have been built but before the executables or gemspec has been written. If the hook returns false then the gem's files will be removed and the install will be aborted.

platforms=

platforms=(platforms) Class Public methods Set array of platforms this RubyGems supports (primarily for testing).

platforms

platforms() Class Public methods Array of platforms this RubyGems supports.

paths=

paths=(env) Class Public methods DOC: needs doc'd or :nodoc'd

paths

paths() Class Public methods DOC: needs doc'd or :nodoc'd

path_separator

path_separator() Class Public methods How String Gem paths should be split. Overridable for esoteric platforms.