Exception: Berkshelf::NoAPISourcesDefined
- Inherits:
-
BerkshelfError
- Object
- StandardError
- BerkshelfError
- Berkshelf::NoAPISourcesDefined
- Defined in:
- lib/berkshelf/errors.rb
Instance Method Summary collapse
Methods inherited from BerkshelfError
Instance Method Details
#to_s ⇒ Object
447 448 449 450 451 452 453 454 |
# File 'lib/berkshelf/errors.rb', line 447 def to_s "Your Berksfile does not define any API sources! You must define " \ "at least one source in order to download cookbooks. To add the " \ "default Berkshelf API server, add the following code to the top of " \ "your Berksfile:" \ "\n\n" \ " source 'https://supermarket.getchef.com'" end |