[Rubygems-developers] warnings from open-uri
Daniel.Berger at qwest.com
Fri Feb 1 14:04:01 EST 2008
> -----Original Message-----
> From: rubygems-developers-bounces at rubyforge.org
> [mailto:rubygems-developers-bounces at rubyforge.org] On Behalf
> Of Berger, Daniel
> Sent: Friday, February 01, 2008 11:54 AM
> To: rubygems-developers at rubyforge.org
> Subject: Re: [Rubygems-developers] warnings from open-uri
> > -----Original Message-----
> > From: rubygems-developers-bounces at rubyforge.org
> > [mailto:rubygems-developers-bounces at rubyforge.org] On
> Behalf Of Chad
> > Woolley
> > Sent: Friday, January 25, 2008 11:05 AM
> > To: rubygems-developers at rubyforge.org
> > Subject: [Rubygems-developers] warnings from open-uri
> > Can I get some feedback on this:
> > http://rubyforge.org/tracker/index.php?func=detail&aid=17042&g
> > roup_id=126&atid=575
> > It spews warnings constantly during our test and app
> execution. I can
> > take a shot at a patch, but I'm unsure where to start. What is the
> > issue, and what is the right way to fix it? Namespace the rubygems
> > version? How would that work, and what would it break?
> Eric, it looks like we're bundling open-uri.rb in rubygems.
> May I ask why?
Upon further review, it looks like we include the open-uri.rb from 1.9
because the 1.8.5 (1.8.x?) version
does not support user/password on authenticating proxies. That's what
Jim Weirich's comment says anyway.
I can only guess that you are explicitly require'ing open-uri.rb at some
point in your test suite Chad. Then, when you require rubygems, it loads
the 1.9 version, and you end up with the warnings.
I'm not sure what the solution is for you other than, "Don't do that".
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
More information about the Rubygems-developers