Attempting to instantiate an Aws::CloudFormation::Resource in a Capistrano task explodes with a Aws::Resources::Errors::DefinitionError:
Aws::Resources::Errors::DefinitionError: unable to define method #delete, method already exists
Minimal reproduction case is here: https://github.com/fidothe/aws-sdk-resources-cap-bug. To demonstrate, download, bundle install and run any / all of:
bundle exec cap production problem:a
bundle exec cap production problem:b
bundle exec cap production problem:c
Attempting to instantiate an
Aws::CloudFormation::Resourcein aCapistranotask explodes with aAws::Resources::Errors::DefinitionError:Minimal reproduction case is here: https://github.com/fidothe/aws-sdk-resources-cap-bug. To demonstrate, download,
bundle installand run any / all of: