class Berkshelf::DependencyNotInstalled
def initialize(dependency)
def initialize(dependency) @name = dependency.name @version = dependency.locked_version end
def to_s
def to_s "The cookbook '#{@name} (#{@version})' is not installed. Please run " \ "`berks install` to download and install the missing dependency." end