adapting some specs to Ruby 1.8.x
.rvmrc added
.travis.yml added