diff options
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/source/git.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/source/git.rb b/lib/rubygems/source/git.rb index cda5aa8073..8d5dc1f69d 100644 --- a/lib/rubygems/source/git.rb +++ b/lib/rubygems/source/git.rb @@ -102,6 +102,7 @@ class Gem::Source::Git < Gem::Source success = system @git, 'reset', '--quiet', '--hard', rev_parse if @need_submodules + require "open3" _, status = Open3.capture2e(@git, 'submodule', 'update', '--quiet', '--init', '--recursive') success &&= status.success? |