Can't install sprouts

5 views
Skip to first unread message

Jeff

unread,
Nov 24, 2009, 7:20:40 PM11/24/09
to ProjectSprouts
Hi,

When I try to run the following command:

gem install sprout

I get this error:

ERROR: http://gems/rubyforge.org/ does not appear to be a repository
ERROR: could not find gem sprout locally or in a repository

Any idea of what may be going wrong?

Kind regards,

Jeff C.

Luke Bayes

unread,
Nov 25, 2009, 1:52:40 PM11/25/09
to project...@googlegroups.com
Hey Jeff,

Yep - there's currently a migration underway in the Ruby world to
change the default gem host from Rubyforge to Gemcutter.

Of course the fix involves installing a gem, but since that doesn't
seem to be working for you - try opening (or creating) a file in your
home directory named .gemrc and add the following plain text to it
(including the leading 3 dashes):

---
:sources:
- http://gemcutter.org


Thanks!

Luke

Vitor Calejuri

unread,
Nov 24, 2009, 11:38:47 PM11/24/09
to project...@googlegroups.com
Looks like a gem problem, not associated with sprout per se.
Try updating gem:

$ sudo gem update --system

http://tinyurl.com/yc45gz4 ,for more information.


--
You received this message because you are subscribed to the Google Groups "ProjectSprouts" group.
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to projectsprout...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/projectsprouts?hl=en

For other info you can visit our project at: http://projectsprouts.org, or on Github at: http://github.com/lukebayes/project-sprouts

Jeff

unread,
Nov 25, 2009, 5:16:07 PM11/25/09
to ProjectSprouts
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,for more 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/does not appear to be a repository

Luke Bayes

unread,
Nov 25, 2009, 5:28:30 PM11/25/09
to project...@googlegroups.com
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 add http://gemcutter.org

That should update your system appropriately.

Thanks,

Luke

James Knight

unread,
Nov 25, 2009, 6:08:04 PM11/25/09
to project...@googlegroups.com
Hi

I had exactly the same error message this morning on a windows box
which turned out to be because I am behind a proxy server.

The solution was to create a HTTP_PROXY environment variable pointing
to the proxy server (with port number if necessary) and try again in a
new cmd window.

I hope this helps

James Knight

Jeff

unread,
Nov 25, 2009, 6:09:04 PM11/25/09
to ProjectSprouts
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
> >> > ERROR:  could not find gem sprout locally or in a repository
>
> >> > Any idea of what may be going wrong?
>
> >> > Kind regards,
>
> >> > Jeff C.
>
> >> > --
> >> > You received this message because you are subscribed to the Google Groups
> >> > "ProjectSprouts" group.
> >> > To post to this group, send email to project...@googlegroups.com
> >> > To unsubscribe from this group, send email to
> >> > projectsprout...@googlegroups.com
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/projectsprouts?hl=en
>
> >> > For other info you can visit our project at:http://projectsprouts.org, or
> >> > on Github at:http://github.com/lukebayes/project-sprouts
>
> > --
> > You received this message because you are subscribed to the Google Groups "ProjectSprouts" group.
> > To post to this group, send email to project...@googlegroups.com
> > To unsubscribe from this group, send email to projectsprout...@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/projectsprouts?hl=en

Jeffrey Chadwell

unread,
Nov 25, 2009, 6:10:05 PM11/25/09
to project...@googlegroups.com
I've done that, but it's still not working.

Jeff
> For other info you can visit our project at: http://projectsprouts.org, or on Github at: http://github.com/lukebayes/project-sprouts



--
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin

Jeff

unread,
Nov 25, 2009, 6:42:59 PM11/25/09
to ProjectSprouts
Looks like "apserver" has been changed to "NTLM Authorization Server"
over at Sourceforge.net. I installed and set it up as described
below, and everything seems to be working now.

Jeff

On Nov 25, 3:09 pm, Jeff <jschadw...@gmail.com> wrote:
> When I try executing:
>
>      gem source --addhttp://gemcutter.org
>
> I get the following error message:
>
>      Error fetchinghttp://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 installhttp://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-proxyhttp://localhost:5865/
> > >> > ERROR:  http://gems/rubyforge.org/doesnotappear to be a repository

Luke Bayes

unread,
Nov 25, 2009, 8:28:04 PM11/25/09
to project...@googlegroups.com
Wow -

What a PITA...

Thanks for pushing through that and posting what worked here!

I'll check in with the Gemcutter folks and see if there's an easier way.


Thanks,

Luke
Reply all
Reply to author
Forward
0 new messages