In Files

  • bundler/source/git/git_proxy.rb

Methods

Class/Module Index [+]

Quicksearch

Bundler::Source::Git::GitCommandError

Attributes

command[R]

Public Class Methods

new(command, path, extra_info = nil) click to toggle source
 
               # File bundler/source/git/git_proxy.rb, line 30
def initialize(command, path, extra_info = nil)
  @command = command

  msg = String.new
  msg << "Git error: command `#{command}` in directory #{path} has failed."
  msg << "\n#{extra_info}" if extra_info
  msg << "\nIf this error persists you could try removing the cache directory '#{path}'" if path.exist?
  super msg
end