Skip to content

Instantly share code, notes, and snippets.

@brettcave

brettcave/gist:6103434

Last active Dec 20, 2015
Embed
What would you like to do?
How to install a gem with dependencies.
include_recipe "apt"
package_list = ["ruby1.9.1-dev","make", " libxml2-dev" ]
package_list.each do |pkg|
r = package pkg do
action :install
## action :nothing
end
## r.runaction(:install)
end
chef_gem "some_gem" do
action :install
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.