diff --git a/lib/rdoc/rubygems_hook.rb b/lib/rdoc/rubygems_hook.rb index fc3388c253..4e80edaf10 100644 --- a/lib/rdoc/rubygems_hook.rb +++ b/lib/rdoc/rubygems_hook.rb @@ -294,7 +294,7 @@ def self.generation_hook installer, specs return unless default_gem? # Generate document for compatibility if this is a default gem. - ::RDoc::RubyGemsHook.generate(installer, specs) + RubyGemsHook.generate(installer, specs) end end end