diff options
author | Andre Arko <andre@arko.net> | 2013-10-13 06:01:09 +0200 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-10-13 06:01:09 +0200 |
commit | f894bdf32f58f9bdc81c9884f08009c239b89464 (patch) | |
tree | 13a3a8e12496b2e31a049739ae2d83e4b8ef2128 | |
parent | c83b7cea7da5ebcd8f431aa9af324b588646abee (diff) | |
download | bundler-f894bdf32f58f9bdc81c9884f08009c239b89464.tar.gz |
look for windows git too
-rw-r--r-- | lib/bundler.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index b537ed7156..1c6e3bacf2 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -354,7 +354,8 @@ module Bundler end def git_present? - @git_present ||= Bundler.which("git") + return @git_present if defined?(@git_present) + @git_present = Bundler.which("git") || Bundler.which("git.exe") end def ruby_version |