How compare versions strings in ruby
There is a lot of way to compare versions strings in ruby, for instance you turn each version string in to an array of integers and then use the array comparison operator. But I prefer this one:
Gem::Version.new('0.3.2') < Gem::Version.new('0.10.1')