class Berkshelf::NoAPISourcesDefined

Public Instance Methods

to_s() click to toggle source
# 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