Skip to content

Commit

Permalink
Merge pull request #7298 from rubygems/fix-ruby-package
Browse files Browse the repository at this point in the history
Fix bundler test on ruby package
  • Loading branch information
hsbt committed Dec 17, 2023
2 parents f4868c6 + 27a16a8 commit 6c36dc4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bundler/spec/support/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,13 @@ def tracked_files
end

def shipped_files
@shipped_files ||= ruby_core? ? tracked_files : loaded_gemspec.files
@shipped_files ||= if ruby_core_tarball?
loaded_gemspec.files.map {|f| f.gsub(%r{^exe/}, "libexec/") }
elsif ruby_core?
tracked_files
else
loaded_gemspec.files
end
end

def lib_tracked_files
Expand Down

0 comments on commit 6c36dc4

Please sign in to comment.