Exception: Chef::Sugar::Kernel::ChefGemLoadError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef/sugar/kernel.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ChefGemLoadError

Returns a new instance of ChefGemLoadError.


21
22
23
24
25
26
27
# File 'lib/chef/sugar/kernel.rb', line 21

def initialize(name)
  super <<-EOH
Chef could not load the gem `#{name}'! You may need to install the gem manually
with `gem install #{name}', or include a recipe before you can use this
resource. Please consult the documentation for this cookbook for proper usage.
EOH
end