thread.so (LOAD ERROR)

The file thread.so is in a subdirectory /usr/lib/ruby/1.8/i686-linux or /usr/lib/ruby/1.8/i486-linux.

Just copy the file that would be correct for your computer up to /usr/ lib/ruby/1.8,

I copied up the i686-linux version.