summaryrefslogtreecommitdiff
path: root/lib/rdoc/rubygems_hook.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/rubygems_hook.rb')
-rw-r--r--lib/rdoc/rubygems_hook.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/rubygems_hook.rb b/lib/rdoc/rubygems_hook.rb
index a676455ec7..f4aa9655ae 100644
--- a/lib/rdoc/rubygems_hook.rb
+++ b/lib/rdoc/rubygems_hook.rb
@@ -70,7 +70,7 @@ class RDoc::RubygemsHook
def self.load_rdoc
return if @rdoc_version
- require 'rdoc/rdoc'
+ require_relative 'rdoc'
@rdoc_version = Gem::Version.new ::RDoc::VERSION
end