[chef] cookbook lib requiring gem


Chronological Thread 
  • From: Andreas Kollegger < >
  • To:
  • Subject: [chef] cookbook lib requiring gem
  • Date: Wed, 23 Feb 2011 19:22:51 +0100

Hi,

What's the appropriate way to require a non-standard gem for a cookbook's 
library? I'm adding a zip.rb library to my cookbook, but it requires 
'archive/zip' to do the actual work. 

Should manually installing that gem be a pre-requisite,  or is there a clever 
way to bootstrap it with the gem_package resource in the recipe that uses it? 

Or, is relying on extra gems frowned upon?

Thanks for any hints,
Andreas




Archive powered by MHonArc 2.6.16.

§