Lines Matching refs:tempdir
9 ENV["GEM_HOME"] = @tempdir
10 ENV["GEM_PATH"] = [@tempdir, "something"].join(File::PATH_SEPARATOR)
23 ps = Gem::PathSupport.new "GEM_HOME" => "#{@tempdir}/foo"
25 assert_equal File.join(@tempdir, "foo"), ps.home
27 expected = util_path + [File.join(@tempdir, 'foo')]
33 alternate = @tempdir.gsub(File::SEPARATOR, File::ALT_SEPARATOR)
36 assert_equal @tempdir, ps.home, "normalize values"
41 ps = Gem::PathSupport.new "GEM_PATH" => %W[#{@tempdir}/foo #{@tempdir}/bar]
46 File.join(@tempdir, 'foo'),
47 File.join(@tempdir, 'bar'),
55 ps = Gem::PathSupport.new("GEM_HOME" => "#{@tempdir}/foo",
56 "GEM_PATH" => %W[#{@tempdir}/foo #{@tempdir}/bar])
58 assert_equal File.join(@tempdir, "foo"), ps.home
60 expected = [File.join(@tempdir, 'foo'), File.join(@tempdir, 'bar')]