summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-03-31 18:09:40 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-03-31 18:09:40 -0700
commit5393bd9acc657a4c8b693b82c54ccf845f8e4794 (patch)
treeb6b79ab30455eb5ae76a2626343d344a7a039b8e
parentb57dbc4bf35a00edbd4cf016dd4ec97fa46553e2 (diff)
downloadchef-5393bd9acc657a4c8b693b82c54ccf845f8e4794.tar.gz
doesn't work for me without this patchlcg/chef-gem-acceptance-bundle
I'm using rvm, backed off to ruby-2.1.8, I have the magical line: ``` export APPBUNDLER_ALLOW_RVM=true ``` But it fails with: ``` TRIVIAL::PROVISION::[2016-03-31 18:00:21 -0700] /Users/lamont/.rvm/rubies/ruby-2.1.8/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'chef' (>= 0) among 149 total gem(s) (Gem::LoadError) ``` Which makes perfect sense to me if you don't have chef itself in the bundle in this directory...
-rw-r--r--acceptance/Gemfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/acceptance/Gemfile b/acceptance/Gemfile
index 4573bc5fb3..b654133774 100644
--- a/acceptance/Gemfile
+++ b/acceptance/Gemfile
@@ -12,3 +12,5 @@ gem "kitchen-vagrant", github: "test-kitchen/kitchen-vagrant"
gem "windows_chef_zero"
gem "winrm-transport"
gem "berkshelf"
+gem "chef", path: ".."
+gem "chef-config", path: "../chef-config"