I tried to use aws-sdk + Paperclip gems with Ruby On Rails to use DigitalOcean Spaces to upload files
The problem i have is the result of configuration, i get "{name_buncket}.s3.nyc3.amazonaws.com" instead of "{name_buncket}.s3.nyc3.digitaloceanspaces.com", that last is the correct result to acces to DigitalOcean Spaces
The aws-sdk gem is exclusive for Amazon Services?, if that is the case, exist another gems similary to aws-sdk to use?
That is the configuration i use:
config.paperclip_defaults = {
storage: :s3,
url: '.....',
s3_region: 'nyc3',
s3_credentials: {
bucket: '......',
access_key_id: "......",
secret_access_key: "........",
s3_host_name: 'nyc3.digitaloceanspaces.com'
}
}