From: Xeno Campanoli Date: 2006-04-08T10:21:58+09:00 Subject: Unable to gem install rdoc. Can somebody suggest something? I'm running on Ubuntu, and have gems kindof apparently installed, and yet I cannot install rdoc: root@baldwin:~# gem install -r rdoc Attempting remote installation of 'rdoc' ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rdoc (> 0) in the repository root@baldwin:~# apt-get install rdoc Reading package lists... Done Building dependency tree... Done E: Couldn't find package rdoc root@baldwin:~# apt-cache search rdoc I also got a bunch of other diagnostics (I accidentally sent them a minute ago with poor explanation; sorry) when running an apparently successful gem install of rake: root@baldwin:~# gem install -r rake Attempting remote installation of 'rake' Successfully installed rake-0.7.1 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': no such file to load -- rdoc/rdoc (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:43:in `generate_rdoc' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:215:in `execute' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in `each' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in `execute' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:in `each' from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:in `execute' from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:49:in `invoke' from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:94:in `process_args' from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run' from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:13:in `run' from /usr/bin/gem:17 % Sorry if this is some stupid mistake, but I'm somehow unable to use Net/HTTP, having the diagnostic: bary@baldwin:~/autotest-bld/tta5/sbin$ ./thurl.rb /usr/lib/ruby/1.8/net/protocol.rb:83:in `initialize': getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/net/protocol.rb:83:in `connect' from /usr/lib/ruby/1.8/net/protocol.rb:82:in `timeout' from /usr/lib/ruby/1.8/timeout.rb:62:in `timeout' from /usr/lib/ruby/1.8/net/protocol.rb:82:in `connect' from /usr/lib/ruby/1.8/net/protocol.rb:64:in `initialize' from /usr/lib/ruby/1.8/net/http.rb:429:in `do_start' from /usr/lib/ruby/1.8/net/http.rb:424:in `start' from /usr/lib/ruby/1.8/net/http.rb:323:in `start' from ./HURL.rb:26:in `initialize' from ./thurl.rb:6 and when I try to gem install that I get: root@baldwin:~# gem install -r Net::HTTP Attempting remote installation of 'Net::HTTP' ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find Net::HTTP (> 0) in the repository root@baldwin:~# gem -v is 0.8.11 I also tried variations: root@baldwin:~# gem install -r net/http Attempting remote installation of 'net/http' ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find net/http (> 0) in the repository root@baldwin:~# and root@baldwin:~# gem install -r net Attempting remote installation of 'net' ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find net (> 0) in the repository root@baldwin:~# xc