Fix for Travis CI various Rubies failing to install some Ruby gems.

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