Exception: Chef::Exceptions::GemRequirementConflict

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/chef/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(gem_name, option, value1, value2) ⇒ GemRequirementConflict

Returns a new instance of GemRequirementConflict.



508
509
510
# File 'lib/chef/exceptions.rb', line 508

def initialize(gem_name, option, value1, value2)
  super "Conflicting requirements for gem '#{gem_name}': Both #{value1.inspect} and #{value2.inspect} given for option #{option.inspect}"
end