use 1.8.7 syntax
update travis yml to use ruby 1.8.7