right-aws

Rails Paperclip conflict between aws-s3 gem and right_aws gem. How to solve?

浪尽此生 提交于 2019-12-07 01:56:56
问题 for a new App I want to use paperclip to store Files to S3. I already have installed the aws-s3 gem for another app. That seems to cause some problems, because Paperclip should use right_aws but is trying to use the aws-s3 gem. But I don't want to remove the aws-s3 gem from my system. Is there a way to solve this conflict? Maybe by forcing paperclip to use right_aws? Or by changing the configuration? My setup # enviroment.rb config.gem 'right_aws' # my model with the attachment has_attached