У меня есть файл cfndsl с утверждением:
SSESpecification(SSEEnabled: true)
на локальном компьютере, я получаю эту ошибку:
Traceback (most recent call last):
12: from /usr/local/bin/cfndsl:23:in `<main>'
11: from /usr/local/bin/cfndsl:23:in `load'
10: from /var/lib/gems/2.5.0/gems/cfndsl-0.16.9/bin/cfndsl:138:in `<top (required)>'
9: from /var/lib/gems/2.5.0/gems/cfndsl-0.16.9/lib/cfndsl.rb:87:in `eval_file_with_extras'
8: from /var/lib/gems/2.5.0/gems/cfndsl-0.16.9/lib/cfndsl.rb:87:in `eval'
7: from /c/work/dfsi/infra/cfndsl/cadnsw.rb:5:in `eval_file_with_extras'
6: from /var/lib/gems/2.5.0/gems/cfndsl-0.16.9/lib/cfndsl.rb:93:in `CloudFormation'
5: from /var/lib/gems/2.5.0/gems/cfndsl-0.16.9/lib/cfndsl/jsonable.rb:204:in `declare'
4: from /var/lib/gems/2.5.0/gems/cfndsl-0.16.9/lib/cfndsl/jsonable.rb:204:in `instance_eval'
3: from /c/work/dfsi/infra/cfndsl/cadnsw.rb:420:in `block in eval_file_with_extras'
2: from /var/lib/gems/2.5.0/gems/cfndsl-0.16.9/lib/cfndsl/orchestration_template.rb:104:in `block (3 levels) in create_resource_accessor'
1: from /var/lib/gems/2.5.0/gems/cfndsl-0.16.9/lib/cfndsl/orchestration_template.rb:104:in `instance_eval'
/c/work/dfsi/infra/cfndsl/cadnsw.rb:470:in `block (2 levels) in eval_file_with_extras': undefined method `SSESpecification' for #<CfnDsl::AWS::Types::AWS_DynamoDB_Table:0x00007fffd918d478>
Но на сервере он работает нормально, без ошибок.
Я просто хочу узнать на сервере, какой файл определил метод SSESpecification
.
Как мне это сделать с помощью irb?