fguillen
fguillen

Reputation: 38772

Rails and active_storage: Cannot load `Rails.config.active_storage.service`: (RuntimeError) Missing service adapter for "S3"

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"

Upvotes: 11

Views: 6611

Answers (1)

fguillen
fguillen

Reputation: 38772

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

Upvotes: 21

Related Questions