Issue #7809 has been updated by drbrain (Eric Hodel).

File package.rb.signature_fix.patch added

The change to lib/rubygems/package/old.rb is not critical.  It suppresses a warning almost nobody will ever see and fixes behavior on 1.8.7.  These are not sufficient for inclusion.

The change to lib/rubygems/package.rb is critical.  Without it users will not be able to install signed gems built with rubygems 2.0 or newer on ruby 2.0.0 without upgrading rubygems.

The attached patch fixes only the critical issue.

----------------------------------------
Bug #7809: Backport RubyGems fixes in r39166 to ruby 2.0.0
https://bugs.ruby-lang.org/issues/7809#change-36094

Author: drbrain (Eric Hodel)
Status: Assigned
Priority: Normal
Assignee: mame (Yusuke Endoh)
Category: lib
Target version: 2.0.0
ruby -v: -


r39166 contains two RubyGems fixes.

The change to lib/rubygems/package.rb is a critical bug fix for RubyGems signing support.  Without this fix users of the LowSecurity policy will not be able to install signed gems.

The change to lib/rubygems/package/old.rb is not a critical bug fix.  It will make my diagnosis of problems in RubyGems easier, though.  It does not change operation of RubyGems in Ruby 2.0.0.


-- 
http://bugs.ruby-lang.org/