Use travis_retry to install gems.

Prevents possible network timeouts on rubygems.org from affecting the build.
Merge pull request #94 from roidrage/patch-1

Use travis_retry to install gems