From: James Byrne Date: 2011-03-11T01:32:11+09:00 Subject: Poblem with RubyGems after upgrade to 1.8.7p334 I just tried to install 1.8.7.p334 on a CentOS-5 host that previously ran 1.8.7p302. I downloaded and built ruby from source and then used checkinstall to build a local rpm package from which I installed the VM using rpm -U. All these steps completed without error: $ ruby --version ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux] However, when I attempt to run gem I get this error: $ gem /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:840:in `synchronize': thread 0xb7fba1b4 tried to join itself (ThreadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:840:in `searcher' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:34:in `require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:220:in `load_file' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:168:in `initialize' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:385:in `new' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:385:in `configuration' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:635:in `path' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:68:in `installed_spec_directories' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:58:in `from_installed_gems' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:883:in `source_index' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:81:in `init_gemspecs' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:13:in `initialize' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:841:in `new' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:841:in `searcher' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:840:in `synchronize' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:840:in `searcher' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:479:in `find_files' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:983:in `load_plugins' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:1139 from /usr/local/bin/gem:8:in `require' from /usr/local/bin/gem:8 I then tried to update RubyGems by downloading and installing from source. However, when I attempt to run ruby setup.rb I get this error: ./lib/rubygems/dependency_list.rb:7:in `require': no such file to load -- tsort (LoadError) from ./lib/rubygems/dependency_list.rb:7 from ./lib/rubygems.rb:29:in `require' from ./lib/rubygems.rb:29 from setup.rb:24:in `require' from setup.rb:24 Searching for tsort.rb finds it in the expected (for me) place: $ find / -name tsort.rb /usr/lib/ruby/1.8/tsort.rb the question I have is: What have I borked and how do I fix it? -- Posted via http://www.ruby-forum.com/.