Fixing S3 Endpoint Errors in Ruby AWS SDK | CodeTrail