Specify ruby version to use with Travis

This is a workaround for an issue with Travis and CocoaPods:
https://github.com/travis-ci/travis-ci/issues/1637