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.


498
499
500
501
502
503
504
# File 'lib/berkshelf/errors.rb', line 498

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