[chef] Re: Re: using chef and gem to install rails


Chronological Thread 
  • From: "Eric G. Wolfe" < >
  • To:
  • Subject: [chef] Re: Re: using chef and gem to install rails
  • Date: Wed, 28 Aug 2013 22:09:05 -0400

* application_ruby (http://ckbk.it/application_ruby), I meant.

On 08/28/2013 10:02 PM, Eric G. Wolfe wrote:
" type="cite">
The chef_gem resource is for installing Ruby gems needed to extend Chef on a given node.  Given you have a full-chef (Omnibus) installation, and want to have Chef pull data from LDAP, you could `chef_gem "net-ldap"` to extend your Chef recipe with that particular gem.

The gem_package resource on the other hand is for managing a system Ruby, or Ruby application stack, external to Chef.  Given you have a full-chef (Omnibus) installation, and want to manage an external Rails application stack, you could use `gem_package "rails"`.  You could also try something like ruby_application (http://ckbk.it/ruby_application) cookbook to deploy by representing your implementation as data structures and function calls.
Eric G. Wolfe
Senior Linux Administrator,
IT Infrastructure Systems
--------------------------------------
Marshall University Computing Services
Drinko Library 428-K
One John Marshall Dr.
Huntington, WV 25755
Phone: 304.942.3970
Email: 
 
 ">
 

You will be recognized and honored as a community leader.
On 08/28/2013 09:00 PM, David Montgomery wrote:
" type="cite">
I want install rails.

I see chef_gem and gem_package


Which do I use?  And how do I do it?

Thanks







Archive powered by MHonArc 2.6.16.

§