Reset the dir and path values. The next timedir or path is requested, the values will be
calculated from scratch. This is mainly used by the unit tests to provide
test isolation.
# File lib/rubygems.rb, line 325
def self.clear_paths
@paths = nil
@user_home = nil
Gem::Specification.reset
Gem::Security.reset if defined?(Gem::Security)
end