From dbe69a466f71b5f0e4057d48e13686914ffcec32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 26 Sep 2024 18:44:03 +0200 Subject: [PATCH] [rubygems/rubygems] I _think_ this workaround is no longer necessary https://github.com/rubygems/rubygems/commit/6a76fedfd0 --- spec/bundler/cache/git_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/bundler/cache/git_spec.rb b/spec/bundler/cache/git_spec.rb index 88436c79aa..ea91829003 100644 --- a/spec/bundler/cache/git_spec.rb +++ b/spec/bundler/cache/git_spec.rb @@ -323,8 +323,6 @@ RSpec.describe "bundle cache with git" do FileUtils.mkdir_p bundled_app("vendor/cache") FileUtils.cp_r git_path, bundled_app("vendor/cache/foo-1.0-#{path_revision}") FileUtils.rm_rf bundled_app("vendor/cache/foo-1.0-#{path_revision}/.git") - # bundle install with git repo needs to be run under the git environment. - Dir.chdir(bundled_app) { system(*%W[git init --quiet]) } bundle :install, env: { "BUNDLE_DEPLOYMENT" => "true", "BUNDLE_CACHE_ALL" => "true" } end