New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined method thrown during S3 integration #8893
Comments
Hello, @mbalc, thanks for your question, this documentation is working for paperclip attachment, and now we are in process of migration to ActiveStorage. So, right now you can use these docs http://edgeguides.rubyonrails.org/active_storage_overview.html#amazon-s3-service |
Following with the knowledge concluded in the link provided helped me to configure my integration with S3, thanks for the feedback |
@mbalc can you provide how did you did that ? i followed what's on the link but still no luck |
Hey @AhmedAliIbrahim Here's a diff of a pull request of the project I work on that enabled the S3 |
The only other relevant, but very important change that was made there was to setup credentials via |
Hey, I'm trying to implement S3 integration with an app built on Spree, but I can't get it up running according to your guides. Even a newly-built app fails.
Steps to Reproduce
a. Append
gem 'aws-sdk'
to Gemfileb. Run
bundle install
c. Append attachment_config script from link to
config/intializers/spree.rb
bin/rails console
(actually, most other services, includingbin/rails server
andbin/rails db:schema:load
end up the same way)Expected Behavior
The console should run fine
Actual Behavior
The app throws a NoMethodError during initialization:
I add full error trace in gist linked below
Your Environment
Most no-brainer stuff I add in this gist; ask for any other things
PS
Probably related: StackOverflow issue
The text was updated successfully, but these errors were encountered: