Martin,
Here’s a gist https://gist.github.com/dawilliams/1674b7d7744d95c1b781
I basically added the chefdk function and called it from chruby_auto function. Look for "## Added" comments
Thanks,
David Williams
From: Martin Cleaver < " target="_blank"> >
Reply-To: " " target="_blank"> " < " target="_blank"> >
Date: Thursday, November 20, 2014 at 9:33 AM
To: " " target="_blank"> " < " target="_blank"> >
Subject: [chef] Re: Re: Re: Re: chefdk and chruby
Can you share your approach please? Thanks, M.
On Wed, Nov 19, 2014 at 8:49 AM, David A. Williams < " target="_blank"> > wrote:
I ended up hacking shrub’s auto function. Not great but it will work for now.
David WilliamsFrom: Booker Bense < " target="_blank"> >
Reply-To: " " target="_blank"> " < " target="_blank"> >
Date: Tuesday, November 18, 2014 at 9:23 AM
To: " " target="_blank"> " < " target="_blank"> >
Subject: [chef] Re: Re: chefdk and chruby
Direnv might be a better solution to this problem than chruby.
On Sun, Nov 16, 2014 at 3:47 PM, Martin Cleaver < " target="_blank"> > wrote:
I had some issues, David, with gem executables.
I'd be interested in official advice - the last I saw was on http://jtimberman.housepub.org/blog/2014/04/30/chefdk-and-ruby/
There is also a ticket somewhere - I posted a comment to David Radcliffe's blog with a reference, but my comment has not materialized yet!
Best, Martin
On Wed, Nov 12, 2014 at 11:49 AM, David A. Williams < " target="_blank"> > wrote:
Hello All,
I’m using chruby and chefdk on my mac. I’ve added chefdk’s ruby to chruby so I can switch to it easily. This works great except for the requirement to have /opt/chedk/bin before /opt/chefdk/embedded/bin in the file path since chruby puts all the ruby paths first. I was wondering if anyone had the same setup and what they used to work around it.
Thanks,
David
CONFIDENTIALITY NOTICE: This electronic mail may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic mail or its contents by persons other than the intended recipient(s) is strictly prohibited. If you have received this communication in error, please notify the sender immediately by reply e-mail so that we may correct our internal records. Please then delete the original message. Thank you.
CONFIDENTIALITY NOTICE: This electronic mail may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic mail or its contents by persons other than the intended recipient(s) is strictly prohibited. If you have received this communication in error, please notify the sender immediately by reply e-mail so that we may correct our internal records. Please then delete the original message. Thank you.
CONFIDENTIALITY NOTICE: This electronic mail may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic mail or its contents by persons other than the intended recipient(s) is strictly prohibited. If you have received this communication in error, please notify the sender immediately by reply e-mail so that we may correct our internal records. Please then delete the original message. Thank you.
Archive powered by MHonArc 2.6.16.