[Rubygems-developers] rubygems/open-uri.rb

Eric Hodel drbrain at segment7.net
Thu Nov 30 14:44:36 EST 2006

On Nov 30, 2006, at 0800 , Chad Fowler wrote:
> On 11/30/06, Eric Hodel <drbrain at segment7.net> wrote:
>> When using rubygems with a program that has (or will) be using the
>> built-in open-uri, rubygems causes an infinite loop because
>> Kernel#open is redefined twice.
>> I'd like to prevent the namespace collision.
>> Is rubygems/open-uri still necessary?  What was the issue with the
>> rubygems open-uri?
> There was an open-uri bug in an old Ruby distribution.  The svn log
> seems to indicate that it was Ruby 1.8.1:
> I think we're OK just removing it.  If someone's OK running ruby
> 1.8.1, they're probably OK with running an old RubyGems too :)  I've
> removed it from svn.

Great.  I removed the reference in Gem::RemoteFetcher too.

Eric Hodel - drbrain at segment7.net - http://blog.segment7.net


More information about the Rubygems-developers mailing list