Exception: Bundler::Source::Git::GitCommandError
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Subclasses:
|
|
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::Bundler::GitError,
::Bundler::BundlerError,
StandardError
|
|
|
Instance Chain:
self,
::Bundler::GitError,
::Bundler::BundlerError,
StandardError
|
|
| Inherits: |
Bundler::GitError
|
| Defined in: | lib/bundler/source/git/git_proxy.rb |
Class Method Summary
::Bundler::BundlerError - Inherited
Instance Attribute Summary
- #command readonly
Constructor Details
.new(command, path = nil, extra_info = nil) ⇒ GitCommandError
# File 'lib/bundler/source/git/git_proxy.rb', line 30
def initialize(command, path = nil, extra_info = nil) @command = command msg = String.new msg << "Git error: command `git #{command}` in directory #{SharedHelpers.pwd} has failed." msg << "\n#{extra_info}" if extra_info msg << "\nIf this error persists you could try removing the cache directory '#{path}'" if path && path.exist? super msg end
Instance Attribute Details
#command (readonly)
[ GitHub ]# File 'lib/bundler/source/git/git_proxy.rb', line 28
attr_reader :command