Specify Ruby version in the Gemfile and .travis yaml.