aboutsummaryrefslogtreecommitdiffstats
path: root/rubygems.rb
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2013-09-20 10:42:22 +0000
committerPascal Terjan <pterjan@gmail.com>2013-09-20 10:42:22 +0000
commit4cddaab45e4687453be733d48e0a6d46efacce69 (patch)
tree63fb3e1464d59f6b9e1199e14efa2f9911b9dcbc /rubygems.rb
parentc96ff3eb28970ac780f2d6445a808f03f5c7748c (diff)
downloadrpm-setup-4cddaab45e4687453be733d48e0a6d46efacce69.tar
rpm-setup-4cddaab45e4687453be733d48e0a6d46efacce69.tar.gz
rpm-setup-4cddaab45e4687453be733d48e0a6d46efacce69.tar.bz2
rpm-setup-4cddaab45e4687453be733d48e0a6d46efacce69.tar.xz
rpm-setup-4cddaab45e4687453be733d48e0a6d46efacce69.zip
Fix dependency generation when ruby_version is empty1.183
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 5368b26..d851945 100755
--- a/rubygems.rb
+++ b/rubygems.rb
@@ -62,7 +62,7 @@ end
if requires or abi_provide
abidep = "ruby(abi)"
- if ruby_versioned
+ if ruby_versioned and RbConfig::CONFIG["ruby_version"] != ""
abidep += " = %s" % RbConfig::CONFIG["ruby_version"]
end
print abidep + "\n"