문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top