class Bundler::Source::Git::GitNotAllowedError

Parent:
Bundler::GitError

Public Class Methods

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

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.