Use travis_retry so Travis CI will retry gem install twice before failing it.

This is to circumvent intermediate issues that Travis CI has with either
network and/or connectivity to rubygems.org web site.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>