При попытке доступа к команде 'Aws :: S3' из консоли Rails возникает не только эта ошибка, я не могу использовать любой другой модуль Aws.
Traceback (most recent call last):
16: from /home/shahbaz/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:293:in `require'
15: from /home/shahbaz/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:259:in `load_dependency'
14: from /home/shahbaz/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-
12: from /home/shahbaz/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/aws-sdk-s3-1.53.0/lib/aws-sdk-s3.rb:8:in `<top (required)>'
11: from /home/shahbaz/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-1.25.0/lib/aws-sdk-kms/types.rb:9:in `<module:KMS>'
3: from /home/shahbaz/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/aws-sdk-kms-1.25.0/lib/aws-sdk-kms/types.rb:27:in `<module:Types>'
2: from /home/shahbaz/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/aws-sdk-kms-1.25.0/lib/aws-sdk-kms/types.rb:27:in `new'
1: from /home/shahbaz/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/httparty-0.17.1/lib/httparty/module_inheritable_attributes.rb:38:in `inherited'
NoMethodError (undefined method `each' for nil:NilClass)
Как я могу решить эту проблему, пожалуйста, помогите