Created
July 3, 2013 14:51
-
-
Save eherot/5918775 to your computer and use it in GitHub Desktop.
can't load gem from inside library during build
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
recipes/default.rb: | |
g = gem_package "fog" do | |
action :nothing | |
end | |
g.run_action(:install) | |
require 'fog' | |
The error: | |
================================================================================ | |
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/ec2-dns-server/libraries/Ec2DnsServer.rb | |
================================================================================ | |
LoadError | |
--------- | |
cannot load such file -- fog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same issue!