aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-04-22 14:48:23 -0700
committerAndre Arko <andre@arko.net>2010-04-23 10:21:10 -0700
commit9614a813a672117adc9ed9d9b4ab98c57aa77f3f (patch)
treec9a64fbb15d4b238526c321d78266ff9a3796ea8 /lib
parent184bf0a6b7d514a60be6a409b876c61b7c766260 (diff)
downloadbundler-9614a813a672117adc9ed9d9b4ab98c57aa77f3f.tar.gz
Fetch submodules for git sources
Closes #299
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/source.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index 48bc34bb..8f437974 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -425,6 +425,8 @@ module Bundler
Dir.chdir(path) do
git "fetch --force --quiet"
git "reset --hard #{revision}"
+ git "submodule init"
+ git "submodule update"
end
end