diff options
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r-- | lib/bundler.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 2db880eca5..f6e75dd7c0 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -352,6 +352,10 @@ module Bundler @gemspec_cache = {} end + def git_present? + @git_present ||= Bundler.which("git") + end + private def eval_yaml_gemspec(path, contents) |