[chef-dev] Re: Determining if running omnibus or system ruby


Chronological Thread 
  • From: Bryan McLellan < >
  • To: Mike < >
  • Cc:
  • Subject: [chef-dev] Re: Determining if running omnibus or system ruby
  • Date: Wed, 15 Aug 2012 11:43:33 -0400

On Wed, Aug 15, 2012 at 11:35 AM, Mike 
< >
 wrote:
> Has anyone come up with a 'standard' for handling determining whether
> chef is installed via omnibus (with embedded ruby) or another method
> with a different ruby?

The current definitive method is
Chef::Provider::Package::Rubygems::AlternateGemEnvironment.is_omnibus?

We've talked about wanting to upfactor that to a more common place,
maybe a mixin and then you could include that in recipes too.

What are you trying to do by the way?

Bryan



Archive powered by MHonArc 2.6.16.

§