# Re: Gem, Proxy and MS authentication

**URL:** <https://www.ruby-forum.com/t/re-gem-proxy-and-ms-authentication/59681>\
**Category:** Ruby\
**Created:** [May 5, 2006, 12:06pm UTC](https://www.ruby-forum.com/t/re-gem-proxy-and-ms-authentication/59681 "2006-05-05T12:06:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuart\_holden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7993a0/32.png) [@stuart\_holden](https://www.ruby-forum.com/u/stuart_holden)\
**Post date:** [May 5, 2006, 12:06pm UTC](https://www.ruby-forum.com/t/re-gem-proxy-and-ms-authentication/59681/1 "2006-05-05T12:06:33Z")

</div>

H,

I’ve been trying to fight my way through our over zealous MS proxy  
server for years. Ruby, Java and, somewhat ironically, .NET apps had all  
been getting rejected. The only way through was via the IE COM  
interface. The proxy that David recommends works perfectly.

* * *

BEFORE:

gem search mechanize -r

\*\*\* REMOTE GEMS \*\*\*  
ERROR: While executing gem … (SocketError)  
getaddrinfo: no address associated with hostname.

* * *

AFTER:

gem search mechanize -r -p [http://localhost:5865](http://localhost:5865)

\*\*\* REMOTE GEMS \*\*\*

mechanize (0.4.3, 0.4.2, 0.4.1, 0.4.0, 0.3.1, 0.3.0, 0.2.3, 0.2.2,  
0.2.1, 0.2.0, 0.1.3, 0.1.2, 0.1.1, 0.1.0)  
Mechanize provides automated web-browsing

* * *

Thanks,  
Stu
