diff options
-rw-r--r-- | tool/sync_default_gems.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 03db90eb45..c065b9c468 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -374,8 +374,11 @@ def sync_lib(repo) end def update_default_gems(gem) + author, repository = $repositories[gem.to_sym].split('/') + puts "Update #{author}/#{repository}" + unless File.exist?("../../#{author}/#{repository}") mkdir_p("../../#{author}") `git clone git@github.com:#{author}/#{repository}.git ../../#{author}/#{repository}` |