From: Roger Pack Date: 2010-02-14T12:55:49+09:00 Subject: [ruby-core:28169] Re: RCR: RUBY_VERSION_INT > Ok, pardon the noise (replying on list so it�s in the archives if either > of us happens to be right), but I still don�t get why you need the full > string: > >>> puts "#{RUBY_VERSION} is smaller than 1.9" if RUBY_VERSION < '1.9' > 1.8.7 is smaller than 1.9 The gotcha (for me) was if RUBY_VERSION > '1.8' # 1.9 stuff end Which didn't blend well with my mind, because after discovering this is wrong, you think to youself 'how do I do it right, then?' The answer appears to be (after some help from the users here) if RUBY_VERSION >= '1.9.0' or if RUBY_VERSION > '1.9' But does it blend? LOL -rp