Created
November 19, 2013 19:44
-
-
Save nicgrayson/7551277 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
bundle exec rspec | |
================================================================================ | |
Recipe Compile Error in /var/folders/98/my9tl6c977dcn_kj67bx19100000gp/T/d20131119-11683-5k8a7x/chefspec-wrapper/recipes/default.rb | |
================================================================================ | |
LoadError | |
--------- | |
cannot load such file -- chef/sugar | |
Cookbook Trace: | |
--------------- | |
/var/folders/98/my9tl6c977dcn_kj67bx19100000gp/T/d20131119-11683-5k8a7x/chef-sugar/recipes/default.rb:25:in `require' | |
/var/folders/98/my9tl6c977dcn_kj67bx19100000gp/T/d20131119-11683-5k8a7x/chef-sugar/recipes/default.rb:25:in `from_file' | |
/var/folders/98/my9tl6c977dcn_kj67bx19100000gp/T/d20131119-11683-5k8a7x/chefspec-wrapper/recipes/default.rb:3:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/var/folders/98/my9tl6c977dcn_kj67bx19100000gp/T/d20131119-11683-5k8a7x/chef-sugar/recipes/default.rb: | |
18: # | |
19: | |
20: chef_gem('chef-sugar') do | |
21: version '1.0.1' | |
22: action :nothing | |
23: end.run_action(:install) | |
24: | |
25>> require 'chef/sugar' | |
26: | |
F | |
Failures: | |
1) Test should log yay chef sugar | |
Failure/Error: ChefSpec::Runner.new.converge('chefspec-wrapper::default') | |
LoadError: | |
cannot load such file -- chef/sugar | |
# /var/folders/98/my9tl6c977dcn_kj67bx19100000gp/T/d20131119-11683-5k8a7x/chef-sugar/recipes/default.rb:25:in `require' | |
# /var/folders/98/my9tl6c977dcn_kj67bx19100000gp/T/d20131119-11683-5k8a7x/chef-sugar/recipes/default.rb:25:in `from_file' | |
# /var/folders/98/my9tl6c977dcn_kj67bx19100000gp/T/d20131119-11683-5k8a7x/chefspec-wrapper/recipes/default.rb:3:in `from_file' | |
# ./spec/default_spec.rb:5:in `block (2 levels) in <top (required)>' | |
# ./spec/default_spec.rb:13:in `block (2 levels) in <top (required)>' | |
Finished in 0.05203 seconds | |
1 example, 1 failure | |
Failed examples: | |
rspec ./spec/default_spec.rb:12 # Test should log yay chef sugar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment