same error with ruby 1.8.7 on ubuntu 12.04