Compare Gem::Version objects to be sure of the highest version

This fixes #ec9a7e5