From ab87cd0baa884797b608013de24ab645cd38999f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 16 Dec 2023 18:00:42 +0800 Subject: [PATCH] We don't use tracked_files in before(:suite). It breaks with release package. --- spec/bundler/support/path.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index 9b5bdfae542243..bb1ac2454dd059 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -80,7 +80,7 @@ def tracked_files end def shipped_files - @shipped_files ||= ruby_core? ? tracked_files : loaded_gemspec.files + @shipped_files ||= ruby_core? ? (loaded_gemspec.files - ["exe/bundle", "exe/bundler"] + ["libexec/bundle", "libexec/bundler"]) : loaded_gemspec.files end def lib_tracked_files