From: Dan Rathbun Date: 2010-08-11T09:42:06+09:00 Subject: Re: Determining whether the running ruby is outdated? Dan Rathbun wrote: > > .. some has suggested I add RUBY_ENGINE to all before 1.9.x (but I > haven't got to it yet.) Here's the snippet for RUBY_ENGINE: # # RUBY_ENGINE was added sometime in the 1.9.x branch # if defined?(RUBY_ENGINE).nil? RUBY_ENGINE = RUBY_VERSION.split('.')[0..1].join('.') end -- Posted via http://www.ruby-forum.com/.