I see this error in my console when all the configuration is right
Cannot load `Rails.config.active_storage.service`: (RuntimeError) Missing service adapter for "S3"
Various features of Active Storage depend on third-party software which Rails will not install, and must be installed separately: Image analysis and transformations also require the image_processing gem. Uncomment it in your Gemfile, or add it if necessary: Compared to libvips, ImageMagick is better known and more widely available.
AzureStorage, to manage attachments through Microsoft Azure Storage. Mirror, to be able to use several services to manage attachments. Inside a Rails application, you can set-up your services through the generated config/storage.yml file and reference one of the aforementioned constant under the service key. For example:
Inside a Rails application, you can set-up your services through the generated config/storage.yml file and reference one of the aforementioned constant under the service key. For example: You can checkout the service's constructor to know which keys are required.
It is not clear in the documentation, I have to add the gem aws-sdk-s3
to my Gemfile
gem "aws-sdk-s3", require: false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With