We have weird prelude.rb content, with require "thread.jar" in there, which causes thread library to be loaded by default in 1.9 mode.
It doesn't make sense. We load Thread library and then redefine some ThreadLibrary's behavior. Why loading of thread library needed at all? MRI 1.9 version of prelude.rb doesn't load 'thread'.