[Rubygems-developers] warnings from open-uri

Eric Hodel drbrain at segment7.net
Wed Feb 20 00:25:00 EST 2008

On Feb 14, 2008, at 09:14 AM, Chad Woolley wrote:
> On Fri, Feb 8, 2008 at 1:51 PM, Chad Woolley  
> <thewoolleyman at gmail.com> wrote:
>> I've attached a patch which avoids the double require and associated
>> warnings.  Please review here:
>> http://rubyforge.org/tracker/index.php?func=detail&aid=17042&group_id=126&atid=575
> Could someone do a quick review of this and let me know if it is an
> acceptable workaround patch, or if something different is needed?
> Basically, it forces the rubygems-bundled openuri with the nonstandard
> path to always be used, by shoving the standard path of the ruby-core
> open uri onto the require array, thus avoiding the double-require.

Aaron Patterson just finished a patch that replaces open-uri with  
plain 'ol Net::HTTP with keepalives, so we get the benefit of fast  
metadata updates no warnings from open-uri. 

More information about the Rubygems-developers mailing list