Forum: Ruby Re: Gem, Proxy and MS authentication

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Stuart H. (Guest)
on 2006-05-05 14:06
(Received via mailing list)
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

*** 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
This topic is locked and can not be replied to.