Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: uninitialized constant AWS::S3::Base #111

Open
yb66 opened this issue Aug 27, 2015 · 1 comment
Open

NameError: uninitialized constant AWS::S3::Base #111

yb66 opened this issue Aug 27, 2015 · 1 comment

Comments

@yb66
Copy link

yb66 commented Aug 27, 2015

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

@krzysztofjablonski
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants