From: Chad Fowler Date: 2003-11-25T10:09:59+09:00 Subject: Re: raise unless RUBY_VERSION[%r/^\s*\d+\.\d+/o].to_f >= 1.8 On Tue, 25 Nov 2003, Ara.T.Howard wrote: # # # any better methods of require a specific version/set of versions? # # -a # Not exactly what you're looking for, but certainly adaptable, David Black created this for RubyGems while at RubyConf. It's working very nicely for us: http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/rubygems/lib/rubygems/version.rb?rev=1.5&cvsroot=rubygems&content-type=text/vnd.viewcvs-markup After having started using it with RubyGems, we've all found other places in our past, present, or future for which we thought, "I can use that there TOO." Chad