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.



561
562
563
564
565
566
567
# File 'lib/berkshelf/errors.rb', line 561

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