summaryrefslogtreecommitdiff
path: root/lib/bundler/runtime.rb
diff options
context:
space:
mode:
authorSimon Eskildsen <sirup@sirupsen.com>2015-10-03 08:21:30 -0400
committerSimon Eskildsen <sirup@sirupsen.com>2015-10-03 13:55:36 -0400
commit73fde334c5c6abb080fc561a42c3ff46b00944c3 (patch)
tree4c0f2890d0f3f45ab8fa2401ba2298437abea6ff /lib/bundler/runtime.rb
parent84811218d9bdddec6b792da6b7cf4d44fa70d223 (diff)
downloadbundler-73fde334c5c6abb080fc561a42c3ff46b00944c3.tar.gz
runtime: avoid cleaning up extensions directory
Diffstat (limited to 'lib/bundler/runtime.rb')
-rw-r--r--lib/bundler/runtime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb
index b214ebc988..4a1e3c92f9 100644
--- a/lib/bundler/runtime.rb
+++ b/lib/bundler/runtime.rb
@@ -169,7 +169,7 @@ module Bundler
spec_gem_executables.flatten!
stale_gem_bins = gem_bins - spec_gem_executables
- stale_git_dirs = git_dirs - spec_git_paths
+ stale_git_dirs = git_dirs - spec_git_paths - ["#{Gem.dir}/bundler/gems/extensions"]
stale_git_cache_dirs = git_cache_dirs - spec_git_cache_dirs
stale_gem_dirs = gem_dirs - spec_gem_paths
stale_gem_files = gem_files - spec_cache_paths