From: Alex Young Date: 2007-06-11T23:21:29+09:00 Subject: Custom Mutex methods undefined by fastthread At the risk of asking an FAQ, I've run into the following problem: irb(main):001:0> require 'thread' => true irb(main):002:0> class Mutex; attr_accessor :owner; end => nil irb(main):003:0> require 'rubygems' => true irb(main):004:0> require 'fastthread' => true irb(main):005:0> a = Mutex.new => # irb(main):006:0> a.owner = :foo NoMethodError: undefined method `owner=' for # from (irb):6 As you can see, the method definition prior to the fastthread require is lost. This wasn't a problem with 0.6.4, but is a problem with 1.0. Is this a genuine bug, or is there a good reason for this? $ ruby -v ruby 1.8.4 (2005-12-24) [i486-linux] -- Alex