[RAILS] gem install rails error
Chad Fowler
chadfowler at gmail.com
Thu Mar 3 19:11:26 GMT 2005
On Wed, 2 Mar 2005 10:08:54 -0800, Ezra Zygmuntowicz
<ezra at yakima-herald.com> wrote:
> Can someone please give me a hand here? I have just built a brand new
> RHEL 4 server for my company and I am trying to get rails up and
> running on it. I have ruby 1.8.2 installed fine. And the gem install
> process went fine as well. But when I try to do the gem install raisl
> under the root user this is what I getL:
>
> [root at yhrws root]# gem instal rails
> Config file /root/.gemrc does not exist
> 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
> /usr/local/lib/ruby/1.8/timeout.rb:42:in `new': execution expired
> (Timeout::Error)
> from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in `connect'
> from /usr/local/lib/ruby/1.8/net/protocol.rb:82:in `timeout'
> from /usr/local/lib/ruby/1.8/timeout.rb:55:in `timeout'
> from /usr/local/lib/ruby/1.8/net/protocol.rb:82:in `connect'
> from /usr/local/lib/ruby/1.8/net/protocol.rb:64:in `initialize'
> from /usr/local/lib/ruby/1.8/net/http.rb:430:in `open'
> from /usr/local/lib/ruby/1.8/net/http.rb:430:in `do_start'
> from /usr/local/lib/ruby/1.8/net/http.rb:419:in `start'
> ... 22 levels...
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:90:in
> `process_args'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:63:in `run'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:9:in `run'
> from /usr/local/bin/gem:17
>
> I'm sorry if someone has already answered this question or if it is
> totally obvious what the problem is but can some one give me a little
> help here? Again this is on Red Hat Enterprise L:inux a totally fresh
> install with Ruby 1.8.2 installed in /usr/local/bin. Any pointers?
> Many many thanks in advance for any help
Hi Ezra. Can you:
ping gems.rubyforge.org
...and...
wget http://gems.rubyforge.org/yaml.Z
?
Looks like you're having trouble connecting to the gems repository.
--
Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 100,000 gems served!)
More information about the Rails
mailing list