Gem install rails problem

#1

Trying to install Rails on FreeBSD 6.0.

pkg_info for ruby and gems:

  • ruby-1.8.2_4
  • ruby18-gems=0.8.11

When I run install:
root# gem install rails --include-dependencies
Attempting local installation of ‘rails’
Local gem file not found: rails*.gem
Attempting remote installation of ‘rails’
Updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (Errno::ECONNRESET)
Connection reset by peer

Please help…I am only at Chapter 3 of the Agile Web D. with
Rails
book.

Thanks

#2

Solved it… the proxy server is not setup… add in argument
–http-proxy
and its working now… I am now at chapter 6 of the book…