lib/rubygems_plugin.rb in manpages-0.3.2 vs lib/rubygems_plugin.rb in manpages-0.4.0
- old
+ new
@@ -1,8 +1,5 @@
-require 'rubygems/command_manager'
-require 'manpages'
-
-Gem::CommandManager.instance.register_command(:manpages)
+require "manpages"
Gem.post_install do |installer|
source_dir = installer.spec.gem_dir
target_dir = File.expand_path("#{installer.bin_dir}/../share/man")