os:win xp
ruby: ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]
I got this error:
Updating RubyGems
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Errno::ENOTCONN: A request to send or receive data was disallowed
because th
e socket is not connected and (when sending on a datagram socket using a
sendto
call) no address was supplied. (RubyGems.org | your community gem host)
So if that works, then the issue is something else.
ENOTCONN clearly indicates that could not establish a connection,
maybe slow TCP connection and not waiting the right amount of time.
Please open a ticket on RubyGems Bug Tracker, include “gem env” output
and the gem install --debug -V output too, so developers are able to
investigate it further:
After reinstalling my os xp I finally got successful rails
installation…
I think there is an application installed on my desktop that block my
installation…
C:\Documents and Settings\a>gem update --system
Updating RubyGems
Nothing to update
C:\Documents and Settings\a>gem install rails
Successfully installed rake-0.8.7
Successfully installed activesupport-2.3.5
Successfully installed activerecord-2.3.5
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.5
Successfully installed actionmailer-2.3.5
Successfully installed activeresource-2.3.5
Successfully installed rails-2.3.5
8 gems installed
Installing ri documentation for rake-0.8.7…
Installing ri documentation for activesupport-2.3.5…
Installing ri documentation for activerecord-2.3.5…
Installing ri documentation for rack-1.0.1…
Installing ri documentation for actionpack-2.3.5…
Installing ri documentation for actionmailer-2.3.5…
Installing ri documentation for activeresource-2.3.5…
Installing ri documentation for rails-2.3.5…
Updating class cache with 0 classes…
Installing RDoc documentation for rake-0.8.7…
Installing RDoc documentation for activesupport-2.3.5…
Installing RDoc documentation for activerecord-2.3.5…
Installing RDoc documentation for rack-1.0.1…
Installing RDoc documentation for actionpack-2.3.5…
Installing RDoc documentation for actionmailer-2.3.5…
Installing RDoc documentation for activeresource-2.3.5…
Installing RDoc documentation for rails-2.3.5…
C:\Documents and Settings\a>rails -v
Rails 2.3.5
C:\Documents and Settings\a>gem -v
1.3.5
C:\Documents and Settings\a>ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]
Thank you sir for helping my to solved this prob
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.