I think this version comparison will work in this particular case, a safer approach might be `Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('1.9.0')`