class Bundler::Source::Git::GitCommandError - bundler-1.9.9 Documentation

# class Bundler::Source::Git::GitCommandError

### Public Class Methods

new(command, path = nil) click to toggle source
Calls superclass method

    # File lib/bundler/source/git/git_proxy.rb, line 23
    def initialize(command, path = nil)
      msg =  "Git error: command `git #{command}` in directory #{Dir.pwd} has failed."
      msg << "\nIf this error persists you could try removing the cache directory '#{path}'" if path && path.exist?
      super msg
    end