lib/rubygems_plugin.rb in gem-wrappers-1.0.0 vs lib/rubygems_plugin.rb in gem-wrappers-1.1.0
- old
+ new
@@ -12,7 +12,12 @@
require 'gem-wrappers/command'
Gem.post_install do |installer|
GemWrappers.install(installer.spec.executables)
end
+
+ Gem.post_uninstall do |installer|
+ GemWrappers.uninstall(installer.spec.executables)
+ end
+
Gem::CommandManager.instance.register_command :wrappers
end