Fix TravisCI build

Fix TravisCI build on multiple rubies implementations.