summaryrefslogtreecommitdiff
path: root/omnibus/files/chef/build-chef.rb
diff options
context:
space:
mode:
Diffstat (limited to 'omnibus/files/chef/build-chef.rb')
-rw-r--r--omnibus/files/chef/build-chef.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/omnibus/files/chef/build-chef.rb b/omnibus/files/chef/build-chef.rb
index 6ff9ca755a..ba7a84c791 100644
--- a/omnibus/files/chef/build-chef.rb
+++ b/omnibus/files/chef/build-chef.rb
@@ -123,12 +123,5 @@ module BuildChef
# Freeze the location's Gemfile.lock.
create_bundle_config(shared_gemfile, frozen: true)
-
- # Clear the now-unnecessary git caches, cached gems, and git-checked-out gems
- block "Delete bundler git cache and git installs" do
- gemdir = shellout!("#{gem_bin} environment gemdir", env: env).stdout.chomp
- remove_file "#{gemdir}/cache"
- remove_file "#{gemdir}/bundler"
- end
end
end