Error “uninitialized constant AWS (NameError)”

前端 未结 7 1764
梦毁少年i
梦毁少年i 2021-02-06 21:39

It is saying AWS is uninitialized. I am usign the aws-sdk-core gem.

I tried using the aws-sdk gem instead, and the problem was still there.

This is the initializ

相关标签:
7条回答
  • 2021-02-06 22:40

    I was facing the same problem. One answer worked here without updating the gem.

    Simply change wherever required [in th require statement in environment]

    require 'aws-sdk'
    

    to

    require 'aws-sdk-v1'
    
    0 讨论(0)
提交回复
热议问题