From 3bc5f6b240c84582da8ed1d48481118607b3c07f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 31 May 2023 12:16:55 +0900 Subject: [PATCH] [rubygems/rubygems] tool_dir needs to handle ruby/ruby repo now https://github.com/rubygems/rubygems/commit/550d90f4ba --- spec/bundler/support/path.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index 5c156c47cf..8d1807b56c 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -292,15 +292,15 @@ module Spec end def rubocop_gemfile_basename - source_root.join("tool/bundler/rubocop_gems.rb") + tool_dir.join("rubocop_gems.rb") end def standard_gemfile_basename - source_root.join("tool/bundler/standard_gems.rb") + tool_dir.join("standard_gems.rb") end def tool_dir - source_root.join("tool/bundler") + ruby_core? ? source_root.join("tool/bundler") : source_root.join("../tool/bundler") end def templates_dir