aws-s3
aws-s3 copied to clipboard
NameError: uninitialized constant AWS::S3::Base
trafficstars
Good afternoon,
require 'aws/s3'
=> true
AWS::S3::Base.establish_connection!(
:access_key_id => 'abc',
:secret_access_key => '123'
)
NameError: uninitialized constant AWS::S3::Base
This happened to me just 5 minutes ago. It would be helpful if you updated the instructions to use either of the solutions listed in this SO answer, or state what should work instead. Using s3sh failed for me too, but it wouldn't be the only route to using the library anyway.
Kind regards, yb
I had the same issue. I removed aws-sdk gem and it started to work again.
Looks like aws-s3 and aws-sdk gems can't work together.