Skip to content

Commit

Permalink
[rubygems/rubygems] tool_dir needs to handle ruby/ruby repo now
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed May 31, 2023
1 parent 1f74e25 commit 3bc5f6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/bundler/support/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,15 @@ def ruby_core_tarball?
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
Expand Down

0 comments on commit 3bc5f6b

Please sign in to comment.