Is there a work around for European Bucke开发者_StackOverflowts and aws-s3 with RoR?
Thanks!
In an initializer, you should add this line :
AWS::S3::DEFAULT_HOST.replace "s3-eu-west-1.amazonaws.com"
Here is the open issue on the github project.
https://github.com/marcel/aws-s3/issues#issue/4
The workaround could be to use a fixed fork of the AWS::S3 library
Use the "s3" gem instead. That suports the european buckets as well.
This one also works with European buckets. I use it all the time for the London region. It's called Commandeer. Super handy while debugging your S3 integration.
精彩评论