Exception: Bundler::Source::Git::MissingGitRevisionError

Inherits:
GitCommandError show all
Defined in:
lib/bundler/source/git/git_proxy.rb

Instance Attribute Summary

Attributes inherited from GitCommandError

#command

Instance Method Summary collapse

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(command, destination_path, ref, repo) ⇒ MissingGitRevisionError

Returns a new instance of MissingGitRevisionError.



42
43
44
45
# File 'lib/bundler/source/git/git_proxy.rb', line 42

def initialize(command, destination_path, ref, repo)
  msg = "Revision #{ref} does not exist in the repository #{repo}. Maybe you misspelled it?"
  super command, destination_path, msg
end