You need to require 'timeout'

-- 
Posted via http://www.ruby-forum.com/.