Hello,
I am trying to install RubyGems on Ubuntu and i'm having trouble. I've downloaded rubygems 1.3.1 and when i run the sudo ruby setup.rb command I get the problem mentioned below. I'd really appreciate if someone can help me out.
Thanks
mkdir -p /usr/local/lib/site_ruby/1.8 mkdir -p /usr/bin install -c -m 0644 rbconfig/datadir.rb /usr/local/lib/site_ruby/1.8/rbconfig/datadir.rb install -c -m 0644 rubygems.rb /usr/local/lib/site_ruby/1.8/rubygems.rb install -c -m 0644 rubygems/timer.rb /usr/local/lib/site_ruby/1.8/rubygems/timer.rb install -c -m 0644 rubygems/exceptions.rb /usr/local/lib/site_ruby/1.8/rubygems/exceptions.rb install -c -m 0644 rubygems/specification.rb /usr/local/lib/site_ruby/1.8/rubygems/specification.rb install -c -m 0644 rubygems/rubygems_version.rb /usr/local/lib/site_ruby/1.8/rubygems/rubygems_version.rb install -c -m 0644 rubygems/source_index.rb /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb install -c -m 0644 rubygems/dependency_installer.rb /usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb install -c -m 0644 rubygems/user_interaction.rb /usr/local/lib/site_ruby/1.8/rubygems/user_interaction.rb install -c -m 0644 rubygems/installer.rb /usr/local/lib/site_ruby/1.8/rubygems/installer.rb install -c -m 0644 rubygems/old_format.rb /usr/local/lib/site_ruby/1.8/rubygems/old_format.rb install -c -m 0644 rubygems/source_info_cache.rb /usr/local/lib/site_ruby/1.8/rubygems/source_info_cache.rb install -c -m 0644 rubygems/command.rb /usr/local/lib/site_ruby/1.8/rubygems/command.rb install -c -m 0644 rubygems/command_manager.rb /usr/local/lib/site_ruby/1.8/rubygems/command_manager.rb install -c -m 0644 rubygems/indexer.rb /usr/local/lib/site_ruby/1.8/rubygems/indexer.rb install -c -m 0644 rubygems/defaults.rb /usr/local/lib/site_ruby/1.8/rubygems/defaults.rb install -c -m 0644 rubygems/requirement.rb /usr/local/lib/site_ruby/1.8/rubygems/requirement.rb install -c -m 0644 rubygems/validator.rb /usr/local/lib/site_ruby/1.8/rubygems/validator.rb install -c -m 0644 rubygems/dependency.rb /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb install -c -m 0644 rubygems/server.rb /usr/local/lib/site_ruby/1.8/rubygems/server.rb install -c -m 0644 rubygems/commands/update_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/update_command.rb install -c -m 0644 rubygems/commands/generate_index_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/generate_index_command.rb install -c -m 0644 rubygems/commands/query_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/query_command.rb install -c -m 0644 rubygems/commands/server_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/server_command.rb install -c -m 0644 rubygems/commands/list_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/list_command.rb install -c -m 0644 rubygems/commands/install_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/install_command.rb install -c -m 0644 rubygems/commands/stale_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/stale_command.rb install -c -m 0644 rubygems/commands/pristine_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/pristine_command.rb install -c -m 0644 rubygems/commands/help_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/help_command.rb install -c -m 0644 rubygems/commands/check_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/check_command.rb install -c -m 0644 rubygems/commands/search_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/search_command.rb install -c -m 0644 rubygems/commands/uninstall_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/uninstall_command.rb install -c -m 0644 rubygems/commands/cert_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/cert_command.rb install -c -m 0644 rubygems/commands/build_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/build_command.rb install -c -m 0644 rubygems/commands/dependency_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/dependency_command.rb install -c -m 0644 rubygems/commands/unpack_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/unpack_command.rb install -c -m 0644 rubygems/commands/specification_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/specification_command.rb install -c -m 0644 rubygems/commands/cleanup_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/cleanup_command.rb install -c -m 0644 rubygems/commands/sources_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/sources_command.rb install -c -m 0644 rubygems/commands/fetch_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/fetch_command.rb install -c -m 0644 rubygems/commands/contents_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/contents_command.rb install -c -m 0644 rubygems/commands/environment_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/environment_command.rb install -c -m 0644 rubygems/commands/lock_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/lock_command.rb install -c -m 0644 rubygems/commands/rdoc_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/rdoc_command.rb install -c -m 0644 rubygems/commands/which_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/which_command.rb install -c -m 0644 rubygems/commands/outdated_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/outdated_command.rb install -c -m 0644 rubygems/commands/mirror_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands/mirror_command.rb install -c -m 0644 rubygems/require_paths_builder.rb /usr/local/lib/site_ruby/1.8/rubygems/require_paths_builder.rb install -c -m 0644 rubygems/package/tar_reader/entry.rb /usr/local/lib/site_ruby/1.8/rubygems/package/tar_reader/entry.rb install -c -m 0644 rubygems/package/tar_reader.rb /usr/local/lib/site_ruby/1.8/rubygems/package/tar_reader.rb install -c -m 0644 rubygems/package/tar_input.rb /usr/local/lib/site_ruby/1.8/rubygems/package/tar_input.rb install -c -m 0644 rubygems/package/tar_output.rb /usr/local/lib/site_ruby/1.8/rubygems/package/tar_output.rb install -c -m 0644 rubygems/package/tar_header.rb /usr/local/lib/site_ruby/1.8/rubygems/package/tar_header.rb install -c -m 0644 rubygems/package/tar_writer.rb /usr/local/lib/site_ruby/1.8/rubygems/package/tar_writer.rb install -c -m 0644 rubygems/package/f_sync_dir.rb /usr/local/lib/site_ruby/1.8/rubygems/package/f_sync_dir.rb install -c -m 0644 rubygems/local_remote_options.rb /usr/local/lib/site_ruby/1.8/rubygems/local_remote_options.rb install -c -m 0644 rubygems/version.rb /usr/local/lib/site_ruby/1.8/rubygems/version.rb install -c -m 0644 rubygems/digest/sha2.rb /usr/local/lib/site_ruby/1.8/rubygems/digest/sha2.rb install -c -m 0644 rubygems/digest/sha1.rb /usr/local/lib/site_ruby/1.8/rubygems/digest/sha1.rb install -c -m 0644 rubygems/digest/digest_adapter.rb /usr/local/lib/site_ruby/1.8/rubygems/digest/digest_adapter.rb install -c -m 0644 rubygems/digest/md5.rb /usr/local/lib/site_ruby/1.8/rubygems/digest/md5.rb install -c -m 0644 rubygems/uninstaller.rb /usr/local/lib/site_ruby/1.8/rubygems/uninstaller.rb install -c -m 0644 rubygems/format.rb /usr/local/lib/site_ruby/1.8/rubygems/format.rb install -c -m 0644 rubygems/custom_require.rb /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb install -c -m 0644 rubygems/package.rb /usr/local/lib/site_ruby/1.8/rubygems/package.rb install -c -m 0644 rubygems/platform.rb /usr/local/lib/site_ruby/1.8/rubygems/platform.rb install -c -m 0644 rubygems/dependency_list.rb /usr/local/lib/site_ruby/1.8/rubygems/dependency_list.rb install -c -m 0644 rubygems/config_file.rb /usr/local/lib/site_ruby/1.8/rubygems/config_file.rb install -c -m 0644 rubygems/source_info_cache_entry.rb /usr/local/lib/site_ruby/1.8/rubygems/source_info_cache_entry.rb install -c -m 0644 rubygems/gem_openssl.rb /usr/local/lib/site_ruby/1.8/rubygems/gem_openssl.rb install -c -m 0644 rubygems/install_update_options.rb /usr/local/lib/site_ruby/1.8/rubygems/install_update_options.rb install -c -m 0644 rubygems/gem_runner.rb /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb install -c -m 0644 rubygems/builder.rb /usr/local/lib/site_ruby/1.8/rubygems/builder.rb install -c -m 0644 rubygems/test_utilities.rb /usr/local/lib/site_ruby/1.8/rubygems/test_utilities.rb install -c -m 0644 rubygems/ext.rb /usr/local/lib/site_ruby/1.8/rubygems/ext.rb install -c -m 0644 rubygems/gem_path_searcher.rb /usr/local/lib/site_ruby/1.8/rubygems/gem_path_searcher.rb install -c -m 0644 rubygems/spec_fetcher.rb /usr/local/lib/site_ruby/1.8/rubygems/spec_fetcher.rb install -c -m 0644 rubygems/security.rb /usr/local/lib/site_ruby/1.8/rubygems/security.rb install -c -m 0644 rubygems/doc_manager.rb /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb install -c -m 0644 rubygems/ext/ext_conf_builder.rb /usr/local/lib/site_ruby/1.8/rubygems/ext/ext_conf_builder.rb install -c -m 0644 rubygems/ext/rake_builder.rb /usr/local/lib/site_ruby/1.8/rubygems/ext/rake_builder.rb install -c -m 0644 rubygems/ext/configure_builder.rb /usr/local/lib/site_ruby/1.8/rubygems/ext/configure_builder.rb install -c -m 0644 rubygems/ext/builder.rb /usr/local/lib/site_ruby/1.8/rubygems/ext/builder.rb install -c -m 0644 rubygems/version_option.rb /usr/local/lib/site_ruby/1.8/rubygems/version_option.rb install -c -m 0644 rubygems/remote_fetcher.rb /usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb install -c -m 0644 ubygems.rb /usr/local/lib/site_ruby/1.8/ubygems.rb cp gem /tmp/gem install -c -m 0755 /tmp/gem /usr/bin/gem1.8 rm /tmp/gem rm -f /usr/lib/ruby/gems/1.8/source_cache Removing old RubyGems RDoc and ri Installing rubygems-1.3.1 ri into /usr/lib/ruby/gems/1.8/doc/rubygems-1.3.1/ri ./lib/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rdoc/rdoc (LoadError) from ./lib/rubygems/custom_require.rb:31:in `require' from setup.rb:283:in `run_rdoc' from setup.rb:296