diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index f2e61f68ca..0d9defe278 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -226,7 +226,7 @@ def sync_default_gems_with_commits(gem, range) `git remote add #{gem} git@github.com:#{$repositories[gem.to_sym]}.git` end end - `git fetch --no-tags #{gem}` + system(*%W"git fetch --no-tags #{gem}") commits = IO.popen(%W"git log --format=%H,%s #{range}") do |f| f.read.split("\n").reverse.map{|commit| commit.split(',', 2)}