UNINITIALIZED CONSTANT PAPERCLIP::STORAGE::S3::AWS
Set up Ruby on Rails with Paperclip and S3 using AWS SDK
Paperclip requires the following gems added to your Gemfile.
If your paperclip version is 5.1.0 then we are using 'aws-sdk' version 2.3.
gem 'paperclip'
gem 'aws-sdk', '~> 2.3'
gem 'aws-sdk', '~> 2.3'
or our paperclip version is 4.1.0 then we need to use 'aws-sdk' version < 2 (note: add version less than 2.0 otherwise you will get paperclip error)
gem 'paperclip'
gem 'aws-sdk', '< 2.0'
Run bundle install and restart the Rails server after modifying the Gemfile.
WE CAN FOLLOW THE LINK BELOW :-
https://github.com/thoughtbot/paperclip/issues/2388
https://coderwall.com/p/vv1iwg/set-up-ruby-on-rails-with-paperclip-5-and-s3-using-aws-sdk-v2
gem 'aws-sdk', '< 2.0'
Run bundle install and restart the Rails server after modifying the Gemfile.
WE CAN FOLLOW THE LINK BELOW :-
https://github.com/thoughtbot/paperclip/issues/2388
https://coderwall.com/p/vv1iwg/set-up-ruby-on-rails-with-paperclip-5-and-s3-using-aws-sdk-v2
Comments