Fix ruby version issue for travis.