Skip to content

Instatiating Aws::CloudFormation::Resource in Capistrano task raises DefinitionError #771

@fidothe

Description

@fidothe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions