Skip to content

Commit

Permalink
Restore tracked_files for ruby core repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 16, 2023
1 parent ab7f546 commit 8db0de9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/bundler/support/path.rb
Expand Up @@ -80,7 +80,13 @@ def tracked_files
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
Expand Down

0 comments on commit 8db0de9

Please sign in to comment.