[Rubygems-developers] warnings from open-uri

Chad Woolley thewoolleyman at gmail.com
Fri Feb 8 15:51:41 EST 2008


On Feb 1, 2008 12:04 PM, Berger, Daniel <Daniel.Berger at qwest.com> wrote:
> 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".

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

Thanks,
-- Chad


More information about the Rubygems-developers mailing list