diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-05-31 12:16:55 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-05-31 13:55:30 +0900 |
commit | 3bc5f6b240c84582da8ed1d48481118607b3c07f (patch) | |
tree | eb523f3b3133ddfd9535f0711a0a4f5945805005 | |
parent | 1f74e25c3bb9398c2b47fde771e35293e2c29ad9 (diff) |
[rubygems/rubygems] tool_dir needs to handle ruby/ruby repo now
https://github.com/rubygems/rubygems/commit/550d90f4ba
-rw-r--r-- | spec/bundler/support/path.rb | 6 |
1 files 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 |