Question

I am adding functionailty to our website so users can upload pictures to our site and I'm going to use amazon s3 for that. I came across these three gems:

  1. aws-sdk (https://github.com/amazonwebservices/aws-sdk-for-ruby)
  2. right_aws (https://github.com/rightscale/right_aws)
  3. aws-s3

I read that aws-s3 is not as good as right_aws, and doesn't get update as often. But I can't find anywhere that compares right_aws vs aws-sdk and looks like they are both directly written by amazon.

Also I came across an article that was using paperclip and aws-s3 together, do I need to use paperclip with any of those as well?

any ideas?

Était-ce utile?

La solution

Definitely use The official AWS SDK for Ruby (docs). Some gems unfortunately depend on fog, which was written before amazon's version came out. I would only use fog if another gem, such as carrierwave, dragged it in.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top