There was an error while loading. Please reload this page.
2 parents e5f0607 + e794ab7 commit 598166fCopy full SHA for 598166f
1 file changed
test/rubygems/test_gem_rdoc.rb
@@ -4,6 +4,11 @@
4
require_relative "helper"
5
require "rubygems/rdoc"
6
7
+# RDoc resolves its own dependencies lazily, on require. Load them here, while
8
+# the real gem paths are still in effect, because Gem::TestCase#setup points
9
+# GEM_HOME at an empty temporary directory where they cannot be found.
10
+Gem::RDoc.load_rdoc if defined?(Gem::RDoc)
11
+
12
class TestGemRDoc < Gem::TestCase
13
def setup
14
super
0 commit comments