aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_pristine_command.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-09 14:20:10 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-09 14:20:10 +0000
commit07b87cd239db5b556a6a9bb38ea78cd2540e4682 (patch)
tree6ee91107d81d30c7c9786dbf8f48be468827f851 /test/rubygems/test_gem_commands_pristine_command.rb
parent30253e6a247425a6916132a79efed30db7eb2e2c (diff)
downloadruby-07b87cd239db5b556a6a9bb38ea78cd2540e4682.tar.gz
* 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
Diffstat (limited to 'test/rubygems/test_gem_commands_pristine_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_pristine_command.rb4
1 files changed, 2 insertions, 2 deletions
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')