Shea Martin wrote: >I would like to enforce ruby 1.8.4 or higher. > > if VERSION < "1.8.4" > raise "Invalid version" > end > > Fails when VERSION is "1.8.10". No, it doesn't, because there will never be a version "1.8.10". You don't have to worry about this problem, Ruby versions will be string-comparable for the forseeable future. Cheers, Dave