Skip to content

Instantly share code, notes, and snippets.

@brettcave

brettcave/gist:6112224

Last active Dec 20, 2015
Embed
What would you like to do?
chef_gem strangeness
g = chef_gem "somegem" do
action :nothing
end
g.run_action(:install)
require 'somegem'
# Works
####
g = chef_gem "somegem" do
options "--no-ri --no-rdoc"
action :nothing
end
g.run_action(:install)
require 'somegem'
# Fails - moans about not being able to find some gem, after running chef_gem.
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.