- From: Bryan McLellan <
>
- To:
- Subject: [chef] Re: Re: Re: Is it possible to specify a gem to use within a recipe
- Date: Wed, 11 Apr 2012 17:08:00 -0400
On Wed, Apr 11, 2012 at 3:21 PM, Clif Smith
<
>
wrote:
>
Thanks for the reply, but I don't need to install the gem, it already is.
>
The problem with the route53 cookbook is it requires a newer version of fog
>
than what's bundled in the Omnibus chef-client. So, while I have fog
>
v1.3.1 installed on my system, the route53 recipe fails as it uses the
>
bundled fog v0.8.2. How can I force the route53 recipe to use the
>
non-bundled fog gem?
Except that is a different version of Rubygems than you're running
Chef under. I would install the version of Fog that you need in
Omnibus. That's where all gems that you use in a recipe should live.
I guess you could prepend your other gem directories onto $LOAD_PATH,
but that's scary. But I'm scared by the world that is Ruby libraries +
Rubygems.
Bryan
Archive powered by MHonArc 2.6.16.