clone 996117 -1
severity -1 serious
retitle -1 ArgumentError: wrong number of arguments (given 2, expected 3) 
caused by lib/active_support/cache.rb:330
block 996117 by -1
thanks

I had a look at the issue. It actually seems that ruby-activesupport, to which
the following files belong, is to blame and incompatible with Ruby 3:

> ArgumentError: wrong number of arguments (given 2, expected 3)
>     
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/cache.rb:710:in
>  `get_entry_value'
>     
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/cache.rb:330:in
>  `fetch'

The error is actually caused when the options argument to the get_entry_value()
function is empty ('{}'). This doesn't fail with Ruby 2.7, but it fails with
Ruby 3 (possibly due to the changes of handling keyword and positional
arguments). 

This seems to have been fixed in RC1 of version 6.1.0 and therefor in version
6.1.4 as well.

Regards, Daniel
-- 
Regards,
Daniel Leidert <dleid...@debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

https://www.fiverr.com/dleidert
https://www.patreon.com/join/dleidert

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to