1
0
Fork 0
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:
Nobuyoshi Nakada 2020-04-24 23:56:48 +09:00
parent 21598b0cc2
commit c6020ba277
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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