When I try executing:
gem source --add
http://gemcutter.org
I get the following error message:
Error fetching
http://gemcutter.org:
bad response Proxy Authentication Required ( The ISA
Server requires authorization to fulfill the request. Access to the
Web Proxy service is denied. )
407 (
http://gemcutter.org/specs.4.8.gz)
I think I may know what's going on, but I'm not sure how to fix it.
I'm sitting behind a proxy server requiring authentication. If found
this
2.3 Authenticating Windows Proxy Problems
How can I install a gem from behind a Windows proxy that requires
authentication? I’ve tried username(colon)password(at)proxyaddress in
the http-proxy url but that doesn’t seem to work.
This suggests you’re behind an MS Proxy that does NTLM
authentication. The proxy support in Ruby is currently only for Basic
authentication.
A workaround is to install
http://apserver.sourceforge.net
apserver on your local machine, configure it and run gems through this
proxy.
* Install: Just download apserver 097 (and not the
experimental 098!) and unpack.
* Configure: Edit the server.cfg file and put the values for
your MS proxy in PARENT_PROXY and PARENT_PROXY_PORT. Enter the values
for DOMAIN and USER. Leave PASSWORD blank (nothing after the colon) –
you will be prompted when launching it.
* Run apserver: cd aps097; python main.py
* Run Gems: gem install —http-proxy
http://localhost:5865/
library
In the RubyGems documentation, but apserver doesn't seem to be over at
sourceforge.net anymore. So I'm stumped. Any ideas?
Jeff
On Nov 25, 2:28 pm, Luke Bayes <
lba...@patternpark.com> wrote:
> I don't think the 'gem update' fix will work for you because you're
> unable to reach a remote gem repo.
>
> Actually, a much faster fix will be:
>
> gem source addhttp://
gemcutter.org
>
> That should update your system appropriately.
>
> Thanks,
>
> Luke
>
> On Wed, Nov 25, 2009 at 2:16 PM, Jeff <
jschadw...@gmail.com> wrote:
> > I'm assuming that both suggestions will work on Windows (without the
> > "sudo")?
>
> > Jeff
>
> > On Nov 24, 8:38 pm, Vitor Calejuri <
ondeosfrangosnaotem...@gmail.com>
> > wrote:
> >> Looks like a gem problem, not associated with sprout per se.
> >> Try updating gem:
>
> >> $ sudo gem update --system
>
> >>
http://tinyurl.com/yc45gz4,formore information.
>
> >> On Tue, Nov 24, 2009 at 4:20 PM, Jeff <
jschadw...@gmail.com> wrote:
> >> > Hi,
>
> >> > When I try to run the following command:
>
> >> > gem install sprout
>
> >> > I get this error:
>
> >> > ERROR:
http://gems/rubyforge.org/doesnot appear to be a repository
> > For more options, visit this group athttp://
groups.google.com/group/projectsprouts?hl=en