In case you can't upgrade to Ruby on Rails 2.3.11 (and to expand on douglasr's answer), thread
must be required at the top of boot.rb
. For example:
require 'thread'
# Don't change this file!
# Configure your app in config/environment.rb and config/environments/*.rb
...