Exception: Bundler::Source::Git::GitNotAllowedError
- Inherits:
-
GitError
- Object
- StandardError
- BundlerError
- GitError
- Bundler::Source::Git::GitNotAllowedError
- Defined in:
- lib/bundler/source/git/git_proxy.rb
Instance Method Summary collapse
-
#initialize(command) ⇒ GitNotAllowedError
constructor
A new instance of GitNotAllowedError.
Methods inherited from BundlerError
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 |