Exception: Berkshelf::MissingLockfileCookbookVersion

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

Instance Method Summary collapse

Methods inherited from CookbookNotFound

#initialize

Methods inherited from BerkshelfError

set_status_code

Constructor Details

This class inherits a constructor from Berkshelf::CookbookNotFound

Instance Method Details

#to_sObject


485
486
487
488
489
# File 'lib/berkshelf/errors.rb', line 485

def to_s
  super + " " \
  "This can happen if the remote cookbook has been deleted or if the sources inside the Berksfile have changed. " \
  "Please run `berks update #{@name}` to resolve to a valid version."
end