chef_gem strangeness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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