Best Amazon s3 with rails 3.1.3

I am adding a feature to our website so that users can upload photos to our website, and I am going to use amazon s3 for this. I came across these three gems:

  • aws-sdk (https://github.com/amazonwebservices/aws-sdk-for-ruby)
  • right_aws (https://github.com/rightscale/right_aws)
  • AWS-s3

I read that aws-s3 is not as good as right_aws, and does not receive updates as often. But I can not find anywhere comparing right_aws vs aws-sdk and it looks like they are both written in Amazon.

I also came across an article that used paperclip and aws-s3 together, do I also need to use paperclip with any of them?

any ideas?

+6
source share
1 answer

Definitely use the Official AWS SDK for Ruby ( docs ). Some gems, unfortunately, depend on the fog that was written before the release of the Amazon version. I would only use fog if another gem, such as a carrier wave, dragged it.

+8
source

Source: https://habr.com/ru/post/904112/


All Articles