I'm behind an authenticated proxy and want to install few plugins (for
rails and radrails) for which I tried using NTLM proxy Authenticator but
could not succeed
I wrote a gem that will authenticate with such a proxy using your current
credentials. It is Win32 only.
To use it, follow these steps:
1) Download and (locally) install the rubysspi gem found at http://rubyforge.org/projects/rubysspi/
2) Copy "spa.rb" from the gem's installation directory to your site_ruby
directory (this allows the library to be included from the command line)
3) Find "gem.cmd" in your ruby bin directory and add "-rspa" to the command
line arguments passed to ruby there.
4) Make sure the environment variable http_proxy is set to your proxy and is
a valid URL (e.g. http://www.proxy.corp:8080)
That's it! YOu can now run "gem install <wahtever>" from the command line.
If you need a non-Win32 solution, or one that will authenticate as a given
user, check out the Python APS server at http://ntlmaps.sourceforge.net/
路路路
On 8/1/06, NAYAK <nayakk@gmail.com> wrote:
Hi
I'm behind an authenticated proxy and want to install few plugins (for
rails and radrails) for which I tried using NTLM proxy Authenticator but
could not succeed
I followed the steps you told me and I am still not able to pass
authentication details the proxy server when I run ruby script/plugin
Regards
NAYAK
路路路
On 8/1/06, Justin Bailey <jgbailey@gmail.com> wrote:
On 8/1/06, NAYAK <nayakk@gmail.com> wrote:
>
> Hi
>
> I'm behind an authenticated proxy and want to install few plugins (for
> rails and radrails) for which I tried using NTLM proxy Authenticator
but
> could not succeed
I wrote a gem that will authenticate with such a proxy using your current
credentials. It is Win32 only.
To use it, follow these steps:
1) Download and (locally) install the rubysspi gem found at http://rubyforge.org/projects/rubysspi/
2) Copy "spa.rb" from the gem's installation directory to your site_ruby
directory (this allows the library to be included from the command line)
3) Find "gem.cmd" in your ruby bin directory and add "-rspa" to the
command
line arguments passed to ruby there.
4) Make sure the environment variable http_proxy is set to your proxy and
is
a valid URL (e.g. http://www.proxy.corp:8080)
That's it! YOu can now run "gem install <wahtever>" from the command line.
If you need a non-Win32 solution, or one that will authenticate as a given
user, check out the Python APS server at http://ntlmaps.sourceforge.net/
On 8/2/06, Justin Bailey <jgbailey@gmail.com> wrote:
On 8/1/06, NAYAK <nayakk@gmail.com> wrote:
>
> Hey Justin,
>
> I followed the steps you told me and I am still not able to pass
> authentication details the proxy server when I run ruby script/plugin