[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Install Hanging

dougbreault@yahoo.com

3/25/2005 7:46:00 PM

Hi All,

I'm super newbie to Ruby/Rails etc.

I've been following a tutorial on the install. Gem installed great, but
the next step is just hanging:

C:\ruby\bin>gem install rails --remote

C:\ruby\bin>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails
--remote

Attempting remote installation of 'rails'
Updating Gem source index for: http://gems.rub...

(hangs here forever and ever)

This hangtime is occuring on both Windows XP and Windows 2000 Server.

I'm following this tutorial,
http://www.onlamp.com/pub/a/onlamp/2005/01/20/...

Thanks for your help and tolerance, it's got to be something stupid.

Doug

4 Answers

Malte Milatz

3/25/2005 8:05:00 PM

0

dougbreault@yahoo.com:
> Attempting remote installation of 'rails'
> Updating Gem source index for: http://gems.rub...
>
> (hangs here forever and ever)

Are you sure it really hangs? Just try and wait a few (or more) minutes,
because this step really takes a while.

Malte

dougbreault@yahoo.com

3/25/2005 8:12:00 PM

0

Oh wow you weren't kidding. The y/n just appeared. Thought for sure I'd
run it overnight on my system at home (win2000server) to avoid this
very possibility, not sure what happened.

Thanks for the quick reply,
-Doug

Ramya Ramaswamy

3/26/2005 7:28:00 AM

0

On Sat, 26 Mar 2005 04:49:51 +0900, dougbreault@yahoo.com
<dougbreault@yahoo.com> wrote:
> Hi All,
>
> I'm super newbie to Ruby/Rails etc.
>
> I've been following a tutorial on the install. Gem installed great, but
> the next step is just hanging:
>
> C:\ruby\bin>gem install rails --remote
>
> C:\ruby\bin>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails
> --remote
>
> Attempting remote installation of 'rails'
> Updating Gem source index for: http://gems.rub...
>
> (hangs here forever and ever)
>
> This hangtime is occuring on both Windows XP and Windows 2000 Server.
>
> I'm following this tutorial,
> http://www.onlamp.com/pub/a/onlamp/2005/01/20/...
>
> Thanks for your help and tolerance, it's got to be something stupid.
>
> Doug
>
> Hey Doug,

The installation might take a while,but the process is real
quick.Open up another command prompt and run this command netstat -n
,to check if the connection is established.You would know if there is
any time_wait.
Am a newbie too.Lemme know if this helps.

Regards
Ramya


Dido Sevilla

3/26/2005 2:45:00 PM

0

On Sat, 26 Mar 2005 04:49:51 +0900, dougbreault@yahoo.com
<dougbreault@yahoo.com> wrote:
> C:\ruby\bin>gem install rails --remote
>
> C:\ruby\bin>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails
> --remote
>
> Attempting remote installation of 'rails'
> Updating Gem source index for: http://gems.rub...
>
> (hangs here forever and ever)
>

It doesn't. It may be because you have a fairly slow connection.

This tells me that there's a UI problem with rubygems. The first time
I tried this I though that there was such a problem too. I really
think there ought to be some kind of "pacifier" like a twirly baton if
not an honest to goodness progress bar, just to let the user know that
it's actually doing something. Same thing too when having gems compile
extensions.