[RAILS] gem install rails error

Ezra Zygmuntowicz ezra at yakima-herald.com
Wed Mar 2 18:08:54 GMT 2005


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
-Ezra Zygmuntowicz
Yakima Herald-Republic
WebMaster
509-577-7732
ezra at yakima-herald.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2101 bytes
Desc: not available
Url : http://one.textdrive.com/pipermail/rails/attachments/20050302/2cc5df2b/attachment.bin


More information about the Rails mailing list