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