ruby 1.8 compatibility, updated travis-ci env