Prev: Is there a way to list the classes defined in a module?
Next: How to connect to Mysql & Query for Database Tables
From: Johny ben on 26 Jan 2010 21:27 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. (http://gems.rubyforge.org/yaml) can anyone have a sulotion? thank u -- Posted via http://www.ruby-forum.com/.
From: Roger Pack on 26 Jan 2010 21:49 > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > Errno::ENOTCONN: A request to send or receive data was disallowed > can anyone have a sulotion? Try it again? Seems to be working here... [26:1948][rdp(a)ilab1:~/dev/allgems]$ gem update --system Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.3.5 :0:Warning: Gem::SourceIndex#search support for String patterns is deprecated Updating RubyGems to 1.3.5 Installing RubyGems 1.3.5 RubyGems 1.3.5 installed -- Posted via http://www.ruby-forum.com/.
From: Johny ben on 26 Jan 2010 22:13 did u try it on linux os?yes it worked on my linux os but when i try it on win xp os I got an error. -- Posted via http://www.ruby-forum.com/.
From: Luis Lavena on 27 Jan 2010 05:20 On Jan 27, 3:27 am, Johny ben <joh1...(a)yahoo.com> wrote: > 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. (http://gems.rubyforge.org/yaml) > > can anyone have a sulotion? Please check your browser setting for a proxy, use --http-proxy with gem install command or set HTTP_PROXY variable with a valid URL of the proxy. If that is not the issue, try including the following information in your report: "gem env" output "gem install gemname --debug -V" complete output. -- Luis Lavena
From: Johny ben on 27 Jan 2010 21:59
> If that is not the issue, try including the following information in > your report: > > "gem env" output > "gem install gemname --debug -V" complete output. @luis lavena Thank you for your reply. on my browser configuration configure proxies to access the internet no proxy server is enable I attached the output error I got running this command gem env gem install rails --debug -V Attachments: http://www.ruby-forum.com/attachment/4434/error.txt -- Posted via http://www.ruby-forum.com/. |