From: Hassan Schroeder Date: 2010-07-28T23:42:13+09:00 Subject: Re: Which Ruby is in use? On Tue, Jul 27, 2010 at 11:41 PM, Caleb Clausen wrote: > Hassan, what is you objection to using rbconfig.rb as Joel suggests? > AFAIK, that's the best (only real) solution to this particular > problem. Yeah, that's the pick of the litter. I was looking for the minimal solution and it seemed unDRY to have to require that everywhere I might need the information, but -- undercaffeinated premature optimization aside -- since my real current use case only requires patching one (Rails app) plugin it's fine. I haven't checked yet whether there's a bug filed against JRuby for the lack of support for ENV['_'], which obviously wins the minimalist contest :-) Thanks everyone for the suggestions! -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan