Ruby 3.2 - unable to upgrade from 2.7.7 /gems/shrine-3.5.0/lib/shrine/storage/s3.rb:355:in `initialize': wrong number of arguments (given 1, expected 0) (ArgumentError) #643
Unanswered
h0jeZvgoxFepBQ2C
asked this question in
Q&A
Replies: 1 comment
-
Ruby 3.0 introduced backwards incompatible changes regarding interchangeability of hashes and keyword arguments. If a method like do_spaces_private_store: s3StorageClass.new(**options) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we tried to upgrade to Ruby 3.2 from 2.7.7 but get following error, which we dont understand?
We have a custom storage class and initialize them with dynamic environment values - but its not working anymore due to the arguments changed?
Any idea? Thank you for this wonderful upload library, much better then everything else! ❤️
Beta Was this translation helpful? Give feedback.
All reactions