# File lib/bundler/runtime.rb, line 124 def prune_cache(cache_path) FileUtils.mkdir_p(cache_path) unless File.exist?(cache_path) resolve = @definition.resolve prune_gem_cache(resolve, cache_path) prune_git_and_path_cache(resolve, cache_path) end