Error Installing Rails

Hi, I’m receiving the following error message using

BEGIN ERROR:

host_name:~/src conradwt$ sudo gem install rails --include-dependencies
Password:
ERROR: While executing gem … (Errno::ECONNREFUSED)
Connection refused - connect(2)

END ERROR:

BEGIN MORE INFO:

host_name:~/src conradwt$ sudo gem install rails
–include-dependencies --backtrace
Password:
ERROR: While executing gem … (Errno::ECONNREFUSED)
Connection refused - connect(2)
/usr/local/lib/ruby/1.8/net/http.rb:562:in initialize' /usr/local/lib/ruby/1.8/net/http.rb:562:inconnect’
/usr/local/lib/ruby/1.8/timeout.rb:48:in timeout' /usr/local/lib/ruby/1.8/timeout.rb:76:intimeout’
/usr/local/lib/ruby/1.8/net/http.rb:562:in connect' /usr/local/lib/ruby/1.8/net/http.rb:555:indo_start’
/usr/local/lib/ruby/1.8/net/http.rb:544:in start' /usr/local/lib/ruby/1.8/net/http.rb:1031:inrequest’
/usr/local/lib/ruby/1.8/net/http.rb:800:in head' /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:118:inread_size’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:106:in
get_size' /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:54:insize’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/incremental_fetcher.rb:60:in
remote_size' /usr/local/lib/ruby/site_ruby/1.8/rubygems/incremental_fetcher.rb:33:insource_index’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:365:in
source_index' /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:482:infetch_source’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:473:in
source_index_hash' /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:472:insource_index_hash’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:436:in
install' /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:258:inexecute’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:220:in
execute' /usr/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:69:ininvoke’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:117:in
process_args' /usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:88:inrun’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:29:in `run’
/usr/local/bin/gem:23

END MORE INFO:

BTW, I’m trying to install on a MBP. Well, I must go and I appreciate
any assistance that I may receive.

Thanks in advance,

-Conrad

Looks like a network connection problem.

Hi, I was able to complete all the previous steps which involved using
the network. Now, I’m totally stopped in my tracks.

-Conrad

Probably something to do with the fact that rubyforge is currently down

Fred

Frederick C. wrote:

Forgot to say, you can use one of the various rubyforge mirrors, eg
gem install rails --source http://rubyforge.planetargon.com/
gems.rubyforge.org/

Thanks for that… it fixed my problems.

I’m surprised they don’t have an automated mirror system, like some of
the other package systems do. Works well to get a static list of
mirrors from a reliable web host, and then work down that list until
you find one that’s up.

Smackfu

Forgot to say, you can use one of the various rubyforge mirrors, eg
gem install rails --source http://rubyforge.planetargon.com/
gems.rubyforge.org/

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs