summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_contents_command.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-06 02:59:36 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-06 02:59:36 +0000
commit9b9d3bac4d5fb0d0287b898885a2e6f1125f807c (patch)
treeaad6503711a1179f86564e8303a34af258e8c975 /test/rubygems/test_gem_commands_contents_command.rb
parent39cb7840950e87a4a77f066fd07dac6bb2e0b41c (diff)
* lib/rubygems: RubyGems 2.2.2 which contains the following bug fixes:
http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.2.2+%2F+2014-02-05 https://bugs.ruby-lang.org/issues/9489 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_contents_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_contents_command.rb b/test/rubygems/test_gem_commands_contents_command.rb
index d87e84fc82..7f5cf22223 100644
--- a/test/rubygems/test_gem_commands_contents_command.rb
+++ b/test/rubygems/test_gem_commands_contents_command.rb
@@ -169,9 +169,9 @@ lib/foo.rb
end
expected = [
- File.join(Gem::ConfigMap[:bindir], 'default_command'),
- File.join(Gem::ConfigMap[:rubylibdir], 'default/gem.rb'),
- File.join(Gem::ConfigMap[:archdir], 'default_gem.so')
+ File.join(RbConfig::CONFIG['bindir'], 'default_command'),
+ File.join(RbConfig::CONFIG['rubylibdir'], 'default/gem.rb'),
+ File.join(RbConfig::CONFIG['archdir'], 'default_gem.so')
].sort.join "\n"
assert_equal expected, @ui.output.chomp