It seems to be that requiring complete aws-sdk is not really needed. It's required here: https://github.com/thoughtbot/paperclip/blob/master/lib/paperclip/storage/s3.rb.
The problem with it is that it will include all AWS SDK libraries. Take a look at Gemfile.lock:
It seems to be that requiring complete aws-sdk is not really needed. It's required here:
https://github.com/thoughtbot/paperclip/blob/master/lib/paperclip/storage/s3.rb
.The problem with it is that it will include all AWS SDK libraries. Take a look at Gemfile.lock:
I didn't dig too much into Paperclip source code, but it seems to be that just requiring aws-sdk-s3 should be sufficient.
What do you think? I can submit a PR with the fix.