Thursday, July 12, 2012

Opscode Chef running under bundler

I like to run chef-solo under bundler. It lets me hack on chef easily and brings all the benefits of gem management to my chef. That being said chef and bundler don't play well together. I finally got the gem_package resource and commands to work without the restrictions bundler imposes. I put this file in  the libraries directory of one of my cookbooks.