[rubygems/rubygems] tool_dir needs to handle ruby/ruby repo now

https://github.com/rubygems/rubygems/commit/550d90f4ba
This commit is contained in:
Hiroshi SHIBATA 2023-05-31 12:16:55 +09:00
parent 1f74e25c3b
commit 3bc5f6b240
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -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