summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post-bundle-install.rb2
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