Remove duplicate gem in gemfile.
Fix bug with S3 SSL certificate verification failing with dot in bucket name.