method

post_build

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Gem
post_build(&hook) public

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.

Show source
Register or log in to add new notes.