Exception: Bundler::Source::Git::GitNotAllowedError

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

Instance Method Summary collapse

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(command) ⇒ GitNotAllowedError

Returns a new instance of GitNotAllowedError.



18
19
20
21
22
23
24
# File 'lib/bundler/source/git/git_proxy.rb', line 18

def initialize(command)
  msg = String.new
  msg << "Bundler is trying to run a `git #{command}` at runtime. You probably need to run `bundle install`. However, "
  msg << "this error message could probably be more useful. Please submit a ticket at https://github.com/rubygems/bundler/issues "
  msg << "with steps to reproduce as well as the following\n\nCALLER: #{caller.join("\n")}"
  super msg
end