From 8fa66467de82f787ead9dd901ad06694c79d88dc Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 25 Jul 2022 15:49:11 -0400 Subject: [PATCH] Fix sync_default_gems.rb to use absolute path --- tool/sync_default_gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 47f6f1c840..a33c056861 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -88,7 +88,7 @@ def sync_default_gems(gem) repo = REPOSITORIES[gem.to_sym] puts "Sync #{repo}" - upstream = File.join("..", "..", repo) + upstream = File.join(__dir__, "../..", repo) case gem when "rubygems"