[chef] Re: definition of languages[:ruby][:gems_dir] ?


Chronological Thread 
  • From: Raphael Bauduin < >
  • To:
  • Subject: [chef] Re: definition of languages[:ruby][:gems_dir] ?
  • Date: Sat, 20 Nov 2010 18:42:01 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=t+i2u3BvJllGjYwC9LWJQKFg4qOrO3kwUI8TU9tDu2yLFni2aAOlInt9Xfhe1zN1vs QhG4f+PQsShRqeLQpQxuTEdvqop1/Z42Lqh1+sXEk5qzOkm58cr1qIcXeEQ9WDq4HGSF 93pffvj4qHVErw7PIKrGIcGzbJAairGV3lMJU=

On Sat, Nov 20, 2010 at 5:17 PM, Raphael Bauduin 
< >
 wrote:
> Hi,
>
> I'm still trying to get up to speed with Chef. I'm using knife to get
> my cookbooks from opscode's server.
> The passenger_apache cookbook uses languages[:ruby][:gems_dir], but I
> don't find it defined anywhere. How can I know which cookbook in the
> repository sets the value of this? I haven't read anywhere that I'm
> supposed to set it myself.
> I grep'd in my clone of the github repo, but still without success.
> But IIRC, the passenger installation was running fine with these
> cookbooks (I had to switch to knife for other reasons).


Seems this is set by ohai since version 0.3.0:
http://tickets.opscode.com/browse/OHAI-81?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

I'm running version 0.5.8 (on ubuntu 10.10), but the ruby hash when
calling ohai  is still empty:
   "ruby": {
    }

any idea on how to fix this?

thanks

Raph

>
> Thanks in advance
>
> Raph
>
> --
> Web database: http://www.myowndb.com
> Free Software Developers Meeting: http://www.fosdem.org
>



-- 
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org



Archive powered by MHonArc 2.6.16.

§