aboutsummaryrefslogtreecommitdiffstats
path: root/rubygems.rb
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2013-12-27 23:58:02 +0000
committerPascal Terjan <pterjan@gmail.com>2013-12-27 23:58:02 +0000
commit0e4f55332cdb7013f0b470a5b25da77aa186a31d (patch)
tree7672b77dc2bf294c4bc5cf5db65563575fad0f3d /rubygems.rb
parent2c8bf7c82a0e0259bb2827fde095b5557c9ee020 (diff)
downloadrpm-setup-0e4f55332cdb7013f0b470a5b25da77aa186a31d.tar
rpm-setup-0e4f55332cdb7013f0b470a5b25da77aa186a31d.tar.gz
rpm-setup-0e4f55332cdb7013f0b470a5b25da77aa186a31d.tar.bz2
rpm-setup-0e4f55332cdb7013f0b470a5b25da77aa186a31d.tar.xz
rpm-setup-0e4f55332cdb7013f0b470a5b25da77aa186a31d.zip
Fix gem automated dependancies1.197
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