summaryrefslogtreecommitdiff
path: root/omnibus/files
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-09-19 13:54:25 -0700
committerJohn Keiser <john@johnkeiser.com>2016-09-19 14:06:42 -0700
commitb3fbf6d0df79d7f9f908c1507a7451d1a906c45f (patch)
tree6f29ac717ce9141b533bec0beeef259fcecaf0c0 /omnibus/files
parented21f8cff3d816394fb50258e1ea27ac2fc89a5a (diff)
downloadchef-b3fbf6d0df79d7f9f908c1507a7451d1a906c45f.tar.gz
Actually clean up bundler filesjk/cleanup-bundler
Diffstat (limited to 'omnibus/files')
-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