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