On Thu, Jul 19, 2012 at 6:17 AM, Wes Morgan firstname.lastname@example.org wrote:
How does one install chef_gem’s with native extensions under omnibus? I’m guessing (on Ubuntu) that I need build-essential installed first, but obviously the chef_gem gets evaluated before the build-essential recipe.
Is there a way to setup a build environment before chef_gem’s are installed in omnibus?
If you’re using the latest version of the build-essential cookbook,
there’s an attribute to control whether build-essential is installed
at compile-time so that chef_gem.
See node[‘build_essential’][‘compiletime’] and the Usage section here: