summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tool/sync_default_gems.rb2
1 files changed, 1 insertions, 1 deletions
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)}