use_paths(home, *paths)
public
Use the home and paths values for Gem.dir and Gem.path. Used mainly by the
unit tests to provide environment isolation.
# File lib/rubygems.rb, line 1059
def self.use_paths(home, *paths)
paths = nil if paths == [nil]
paths = paths.first if Array === Array(paths).first
self.paths = { "GEM_HOME" => home, "GEM_PATH" => paths }
# TODO: self.paths = home, paths
end