aboutsummaryrefslogtreecommitdiffstats
path: root/rubygems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubygems.rb')
-rwxr-xr-xrubygems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubygems.rb b/rubygems.rb
index d851945..a1189af 100755
--- a/rubygems.rb
+++ b/rubygems.rb
@@ -30,7 +30,7 @@ if rest.size != 0 or (!provides and !requires) or (provides and requires)
exit(1)
end
-specpatt = "%s/specifications/.*\.gemspec$" % RbConfig::CONFIG["rubygemsdir"]
+specpatt = "%s/specifications/.*\.gemspec$" % Gem.default_dirs[:system][:gem_dir]
gems = []
ruby_versioned = false