Ruby on Rails / Upload to Amazon S3 (AmazonAWS) problem

If your bucket located in EU try to set this const:

AWS::S3.const_set('DEFAULT_HOST', "s3-eu-west-1.amazonaws.com")

No comments:

Post a Comment