spec/support/dependency_helpers.rb in appraisal-1.0.3 vs spec/support/dependency_helpers.rb in appraisal-2.0.0
- old
+ new
@@ -43,7 +43,14 @@
`git config user.email "appraisal@thoughtbot.com"`
`git config user.name "Appraisal"`
`git add .`
`git commit -a -m "initial commit"`
end
+
+ # Cleanup Bundler cache path manually for now
+ git_cache_path = File.join(ENV["GEM_HOME"], "cache", "bundler", "git")
+
+ Dir[File.join(git_cache_path, "#{gem_name}-*")].each do |path|
+ FileUtils.rm_r(path)
+ end
end
end