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
496 497 498 499 500 501 502 503 |
# File 'lib/berkshelf/errors.rb', line 496 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.chef.io'" end |