diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-03-22 16:43:08 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-03-22 16:43:08 -0700 |
commit | ea5d974e61cef2ce133844d43f1013f0337eedde (patch) | |
tree | 46be65582f959fcec7de6bc7af6a422f07094d5d /post-bundle-install.rb | |
parent | 2c65fb2183c7e0cf22a72850fd2b29ea31c5d10c (diff) | |
download | chef-ea5d974e61cef2ce133844d43f1013f0337eedde.tar.gz |
skip the chef gem in the post-bundle-install
this shouldn't be there, but it always causes problems if it
accidentally exists in the image and we try to install it
before the rest of the deps are in place
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'post-bundle-install.rb')
-rw-r--r-- | post-bundle-install.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/post-bundle-install.rb b/post-bundle-install.rb index f0db5d50b0..9d7491de77 100644 --- a/post-bundle-install.rb +++ b/post-bundle-install.rb @@ -15,6 +15,8 @@ Dir["#{gem_home}/bundler/gems/*"].each do |gempath| gem_name = matches[1] next unless gem_name + next if gem_name == "chef" + puts "re-installing #{gem_name}..." # we can't use "commmand" or "bundle" or "gem" DSL methods here since those are lazy and we need to run commands immediately |