summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-31 12:16:55 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-31 13:55:30 +0900
commit3bc5f6b240c84582da8ed1d48481118607b3c07f (patch)
treeeb523f3b3133ddfd9535f0711a0a4f5945805005
parent1f74e25c3bb9398c2b47fde771e35293e2c29ad9 (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.rb6
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