Fixed travis-ci and removed ruby version 1.8.7