Can't install Gems on Windows 7

gem install fxruby
ERROR: Could not find a valid gem ‘fxruby’ (>= 0) in any repository
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: A connection attempt failed because the connected
party did not properly res
pond after a period of time, or established connection failed because
connected host has failed to
respond. - connect(2) (http://rubygems.org/latest_specs.4.8.gz)

When I do a

gem env

I get:

  • RUBYGEMS VERSION: 1.7.2
  • RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [i386-mingw32]
  • REMOTE SOURCES:

Could it be a firewall problem? How does GEM connect to the Internet?

Ronald F. wrote in post #1013707:

gem install fxruby
ERROR: Could not find a valid gem ‘fxruby’ (>= 0) in any repository
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: A connection attempt failed because the connected
party did not properly res
pond after a period of time, or established connection failed because
connected host has failed to
respond. - connect(2) (http://rubygems.org/latest_specs.4.8.gz)

When I do a

This seems to be a network connection issue.

Are you behind a firewall/proxy?

If you’re behind a proxy, you need to use HTTP_PROXY environment
variable or --http-proxy setting on gem install

the syntax of the setting is a URI:

http://user:pass@proxy-server:port

Please check your browser settings to see if you have that and set the
variable:

set HTTP_PROXY=http://user:pass@proxy-server:port

or use in the gem command:

gem install fxruby --http-proxy=http://…


Luis L.