[chef] RE: Re: chef_gem clarification


Chronological Thread 
  • From: Matt Ray < >
  • To: Jeff Blaine < >, " " < >
  • Subject: [chef] RE: Re: chef_gem clarification
  • Date: Sat, 11 May 2013 15:08:18 +0000
  • Accept-language: en-US

Revisiting this "old" thread, take a look at the mysql::ruby recipe which 
does all this.
https://github.com/opscode-cookbooks/mysql/blob/master/recipes/ruby.rb

Thanks,
Matt Ray
Senior Technical Evangelist :: Opscode
512.731.2218 :: 

mattray :: GitHub :: IRC :: Twitter

________________________________________
From: Geoff Owen
Sent: Tuesday, May 07, 2013 4:30 PM
To: Jeff Blaine; 

Subject: [chef] Re: chef_gem clarification

Good point Jeff!

Thank you!

Geoff

On 5/7/13 1:58 PM, "Jeff Blaine" 
< >
 wrote:

>> I am having an issue where I am trying to do things "right".  I have a
>>server I
>> am building but the mysql gem is not installed.  So I am using chef_gem
>>to
>> install it.  However, I have other cookbooks that need to run before
>>chef_gem
>> (mainly one that installs a compiler).       I have tried to use the
>>include_recipe
>> to do this, but that didn't seem to do the trick.
>
>You may not want chef_gem but gem_package
>
>http://docs.opscode.com/resource_gem_package.html
>
>chef_gem installs the gem for use by Chef, not your system-wide Ruby.




Archive powered by MHonArc 2.6.16.

§