The rubygems installer can't finish, and CPU is 100% used in several hours.

--------------------------------------------------------------------------------------
localhost rubygems-0.9.1 # uname -a
Linux localhost 2.6.17.13 #1 SMP Wed Jan 3 09:30:41 Local time zone
must be set--see zic m i686 Genuine Intel(R) CPU           T2300  @
1.66GHz GenuineIntel GNU/Linux

localhost rubygems-0.9.1 # ruby -v
ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-linux]

localhost rubygems-0.9.1 # ruby setup.rb
---> bin
<--- bin
---> lib
---> lib/rubygems
<--- lib/rubygems
---> lib/rbconfig
<--- lib/rbconfig
<--- lib
---> bin
<--- bin
---> lib
---> lib/rubygems
<--- lib/rubygems
---> lib/rbconfig
<--- lib/rbconfig
<--- lib
rm -f InstalledFiles
---> bin
mkdir -p /usr/bin/
install gem /usr/bin/
install gemri /usr/bin/
install gem_mirror /usr/bin/
install gem_server /usr/bin/
install gemwhich /usr/bin/
install gemlock /usr/bin/
install update_rubygems /usr/bin/
install index_gem_repository.rb /usr/bin/
<--- bin
---> lib
mkdir -p /usr/lib/ruby/site_ruby/1.8/
install ubygems.rb /usr/lib/ruby/site_ruby/1.8/
install rubygems.rb /usr/lib/ruby/site_ruby/1.8/
install gemconfigure.rb /usr/lib/ruby/site_ruby/1.8/
---> lib/rubygems
mkdir -p /usr/lib/ruby/site_ruby/1.8/rubygems
install config_file.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install gem_openssl.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install user_interaction.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install source_info_cache.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install server.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install source_index.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install cmd_manager.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install gem_runner.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install gem_commands.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install doc_manager.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install installer.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install remote_installer.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install old_format.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install builder.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install rubygems_version.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install format.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install custom_require.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install specification.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install dependency_list.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install command.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install package.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install timer.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install source_info_cache_entry.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install remote_fetcher.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install validator.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install version.rb /usr/lib/ruby/site_ruby/1.8/rubygems
install security.rb /usr/lib/ruby/site_ruby/1.8/rubygems
<--- lib/rubygems
---> lib/rbconfig
mkdir -p /usr/lib/ruby/site_ruby/1.8/rbconfig
install datadir.rb /usr/lib/ruby/site_ruby/1.8/rbconfig
<--- lib/rbconfig
<--- lib
  Successfully built RubyGem
  Name: sources
  Version: 0.0.1
  File: sources-0.0.1.gem