Exception: Berkshelf::GitNotInstalled

Inherits:
GitError show all
Defined in:
lib/berkshelf/errors.rb

Instance Method Summary collapse

Methods inherited from BerkshelfError

set_status_code

Constructor Details

#initializeGitNotInstalled

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