method
run_post_build_hooks
v2_2_9 -
Show latest stable
- Class:
Gem::Installer
run_post_build_hooks()public
No documentation available.
# File lib/rubygems/installer.rb, line 284
def run_post_build_hooks # :nodoc:
Gem.post_build_hooks.each do |hook|
if hook.call(self) == false then
FileUtils.rm_rf gem_dir
location = " at #{$1}" if hook.inspect =~ /@(.*:\d+)/
message = "post-build hook#{location} failed for #{spec.full_name}"
raise Gem::InstallError, message
end
end
end