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

status_code

Constructor Details

#initialize(command) ⇒ GitNotAllowedError

Returns a new instance of GitNotAllowedError.



14
15
16
17
18
19
# File 'lib/bundler/source/git/git_proxy.rb', line 14

def initialize(command)
  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 http://github.com/bundler/bundler/issues "
  msg << "with steps to reproduce as well as the following\n\nCALLER: #{caller.join("\n")}"
  super msg
end