clear_paths()
Reset the dir and path values. The next time dir 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 345 def self.clear_paths @@source_index = nil @paths = nil @user_home = nil @searcher = nil Gem::Specification.reset end