summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Medeiros <me@andremedeiros.info>2015-10-03 21:22:00 +0200
committerAndré Medeiros <me@andremedeiros.info>2015-10-03 21:22:00 +0200
commita72b9a5f4da47b0aa21720716760d1336edd8d32 (patch)
tree4c0f2890d0f3f45ab8fa2401ba2298437abea6ff
parent84811218d9bdddec6b792da6b7cf4d44fa70d223 (diff)
parent73fde334c5c6abb080fc561a42c3ff46b00944c3 (diff)
downloadbundler-a72b9a5f4da47b0aa21720716760d1336edd8d32.tar.gz
Merge pull request #4030 from Sirupsen/dont-clean-extensions
runtime: avoid cleaning up extensions directory
-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