From 07b87cd239db5b556a6a9bb38ea78cd2540e4682 Mon Sep 17 00:00:00 2001 From: hsbt Date: Fri, 9 Jan 2015 14:20:10 +0000 Subject: * lib/rubygems: Update to RubyGems HEAD(e53c54a). * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_commands_pristine_command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/rubygems/test_gem_commands_pristine_command.rb') diff --git a/test/rubygems/test_gem_commands_pristine_command.rb b/test/rubygems/test_gem_commands_pristine_command.rb index 554d503811..38e00bb1cc 100644 --- a/test/rubygems/test_gem_commands_pristine_command.rb +++ b/test/rubygems/test_gem_commands_pristine_command.rb @@ -231,7 +231,7 @@ class TestGemCommandsPristineCommand < Gem::TestCase Gem.clear_paths gemhome2 = File.join @tempdir, 'gemhome2' - Gem.paths = { "GEM_PATH" => [gemhome2, @gemhome], "GEM_HOME" => gemhome2 } + Gem.use_paths gemhome2, [gemhome2, @gemhome] b = util_spec 'b' install_gem b @@ -301,7 +301,7 @@ class TestGemCommandsPristineCommand < Gem::TestCase Gem.clear_paths gemhome2 = File.join(@tempdir, 'gemhome2') - Gem.paths = { "GEM_PATH" => [gemhome2, @gemhome], "GEM_HOME" => gemhome2 } + Gem.use_paths gemhome2, [gemhome2, @gemhome] install_gem specs["b-1"] FileUtils.rm File.join(gemhome2, 'cache', 'b-1.gem') -- cgit v1.2.3