mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Clear cached XDG path names
This commit is contained in:
parent
21598b0cc2
commit
c6020ba277
1 changed files with 2 additions and 0 deletions
|
@ -371,6 +371,8 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
|
|||
File.chmod 0600, temp_cred
|
||||
|
||||
Gem.instance_variable_set :@user_home, nil
|
||||
Gem.instance_variable_set :@cache_home, nil
|
||||
Gem.instance_variable_set :@data_home, nil
|
||||
Gem.instance_variable_set :@gemdeps, nil
|
||||
Gem.instance_variable_set :@env_requirements_by_name, nil
|
||||
Gem.send :remove_instance_variable, :@ruby_version if
|
||||
|
|
Loading…
Reference in a new issue