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
I was facing the same problem. One answer worked here without updating the gem.
gem
Simply change wherever required [in th require statement in environment]
[in th require statement in environment]
require 'aws-sdk'
to
require 'aws-sdk-v1'