[chef-dev] Re: Re: Re: Ohai Ruby plugin: system ruby vs. running ruby?


Chronological Thread 
  • From: Brad Knowles < >
  • To: Daniel DeLeo < >
  • Cc: Brad Knowles < >, Adam Jacob < >, Chef Dev < >
  • Subject: [chef-dev] Re: Re: Re: Ohai Ruby plugin: system ruby vs. running ruby?
  • Date: Thu, 1 Sep 2011 08:41:24 -0500

On Aug 31, 2011, at 8:19 PM, Daniel DeLeo wrote:

> This ohai issue is unrelated to omnibus or any other installation method. 
> What I'm considering here is how ohai detects information about what ruby 
> interpreter you have installed--ohai is just the messenger. I'm not 
> personally working on the omnibus project (though I'm excited about it), so 
> I'm not up to speed on the considerations for this pathing issue. But it's 
> only tangentially related to how ohai would detect what versions of ruby 
> you have installed.

Sorry, I misunderstood.  I was under the impression that you were working on 
how ohai itself was working and how it was trying to figure out what the 
"right" version of ruby was for it to be using -- i.e., the system provided 
ruby vs. the embedded version, etc....

I can see that some people would expect a single canonical result, whereas 
others would prefer a multivariate result that includes all the versions of 
ruby that can be found on the system.  However, I don't know how deeply you 
should go inspecting the system to try to find all the various hidden copies 
of ruby -- e.g., should the omnibus embedded version be returned in the list 
of versions of ruby that are found?

-- 
Brad Knowles 
< >



  • [chef-dev] Re: Re: Re: Ohai Ruby plugin: system ruby vs. running ruby?, Brad Knowles, 09/01/2011

Archive powered by MHonArc 2.6.16.

§