# File lib/rubygems/uninstaller.rb, line 102 def uninstall_gem(spec, specs) @spec = spec Gem.pre_uninstall_hooks.each do |hook| hook.call self end remove_executables @spec remove @spec, specs Gem.post_uninstall_hooks.each do |hook| hook.call self end @spec = nil end