diff options
author | Pascal Terjan <pterjan@gmail.com> | 2013-09-20 10:42:22 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2013-09-20 10:42:22 +0000 |
commit | 4cddaab45e4687453be733d48e0a6d46efacce69 (patch) | |
tree | 63fb3e1464d59f6b9e1199e14efa2f9911b9dcbc /rubygems.rb | |
parent | c96ff3eb28970ac780f2d6445a808f03f5c7748c (diff) | |
download | rpm-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-x | rubygems.rb | 2 |
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" |