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