Added require 'rubygems' for 1.8.7.
Updated .travis.yml more.