summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/contents_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/contents_command.rb')
-rw-r--r--lib/rubygems/commands/contents_command.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/commands/contents_command.rb b/lib/rubygems/commands/contents_command.rb
index 603f1d072a..97218848ed 100644
--- a/lib/rubygems/commands/contents_command.rb
+++ b/lib/rubygems/commands/contents_command.rb
@@ -94,11 +94,11 @@ prefix or only the files that are requireable.
spec.files.sort.map do |file|
case file
when /\A#{spec.bindir}\//
- [RbConfig::CONFIG['bindir'], $POSTMATCH]
+ [Gem::ConfigMap[:bindir], $POSTMATCH]
when /\.so\z/
- [RbConfig::CONFIG['archdir'], file]
+ [Gem::ConfigMap[:archdir], file]
else
- [RbConfig::CONFIG['rubylibdir'], file]
+ [Gem::ConfigMap[:rubylibdir], file]
end
end
end