summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosh LeBlanc <[email protected]>2025-01-10 13:52:24 -0400
committerHiroshi SHIBATA <[email protected]>2025-01-14 12:24:37 +0900
commitaee0277e14d9161023b45ad1cfd74dc556c8c7c4 (patch)
tree04a8531ccba746250c90bfed7dfc0a245dd939eb /lib
parentc89bcbd58eb48e39ab7e7c47a2226e876c885b07 (diff)
[rubygems/rubygems] Serialize gemspec when caching git source
https://github.com/rubygems/rubygems/commit/8727d44024
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12568
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/source/git.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/source/git.rb b/lib/bundler/source/git.rb
index 3aa48a943a..fde05e472b 100644
--- a/lib/bundler/source/git.rb
+++ b/lib/bundler/source/git.rb
@@ -282,6 +282,7 @@ module Bundler
FileUtils.rm_rf(app_cache_path)
git_proxy.checkout if migrate || requires_checkout?
git_proxy.copy_to(app_cache_path, @submodules)
+ serialize_gemspecs_in(app_cache_path)
end
def checkout