From: Roger Pack Date: 2010-02-04T09:05:14+09:00 Subject: [ruby-core:28040] Re: RCR: RUBY_VERSION_INT > For what do you need it? �I think there should be better tests > than version comarison. I need to require 'faster_rubygems' (gem prelude) only on 1.8, not on 1.9, though I suppose it wouldn't hurt me too bad to require it on 1.9... > So 1.9.1 p 234 would be 100900100234 I'd be down with that. At least it would make things clearer than they are now... A Version class would be great. Using Gem::Version unfortunately requires loading "full rubygems" on 1.9, which can take quite awhile, and is what I'm trying to avoid. I suppose I could just get used to writing if RUBY_VERSION < '1.9.0' ... end etc. -r