mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Clear rdoc options in the global rubygems configuration
This commit is contained in:
parent
69ce9e4187
commit
ddb8739634
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ class TestRDocRubygemsHook < Test::Unit::TestCase
|
|||
].map {|e| [e, ENV.delete(e)]}.to_h
|
||||
ENV["HOME"] = @tempdir
|
||||
|
||||
Gem.configuration[:rdoc] = nil
|
||||
|
||||
@a.instance_variable_set(:@doc_dir, File.join(@tempdir, "doc"))
|
||||
@a.instance_variable_set(:@gem_dir, File.join(@tempdir, "a-2"))
|
||||
@a.instance_variable_set(:@full_gem_path, File.join(@tempdir, "a-2"))
|
||||
|
|
Loading…
Reference in a new issue