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.
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 |