It could - but I am very concerned about comparing strings to compare semantic version numbers. Extensive Googling suggests this is the most reliable option. When is RubyGems not available in a Ruby context, such that this is adding a dependency?