Exception: Berkshelf::GitNotInstalled
- Inherits:
-
GitError
- Object
- StandardError
- BerkshelfError
- GitError
- Berkshelf::GitNotInstalled
- Defined in:
- lib/berkshelf/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ GitNotInstalled
constructor
A new instance of GitNotInstalled.
Methods inherited from BerkshelfError
Constructor Details
#initialize ⇒ GitNotInstalled
Returns a new instance of GitNotInstalled.
564 565 566 567 568 569 570 |
# File 'lib/berkshelf/errors.rb', line 564 def initialize super "You need to install Git before you can download " \ "cookbooks from git repositories. For more information, please " \ "see the Git docs: http://git-scm.org. If you have git installed, " \ "please make sure it is in your $PATH and accessible by the user " \ "running this command." end |