From 8db0de92a8454b449efb243f380f5d2b68c38d7c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sun, 17 Dec 2023 05:39:16 +0800 Subject: Restore tracked_files for ruby core repo --- spec/bundler/support/path.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'spec/bundler') diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index 5323f06280..f0f701a7cb 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -80,7 +80,13 @@ module Spec end def shipped_files - @shipped_files ||= ruby_core? ? loaded_gemspec.files.map{|f| f.gsub(/^exe\//, "libexec/")} : loaded_gemspec.files + @shipped_files ||= if ruby_core_tarball? + loaded_gemspec.files.map{|f| f.gsub(/^exe\//, "libexec/")} + elsif ruby_core? + tracked_files + else + loaded_gemspec.files + end end def lib_tracked_files -- cgit v1.2.3