i am experiencing the same error.
I temporarily fixed it by reverting the libraries to the previous version, this might come in handy to someone:
apt install --reinstall --allow-downgrades \ ruby-rails=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-actionpack=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-actionview=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-activemodel=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-activerecord=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-activesupport=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-activestorage=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-actioncable=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-activejob=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-railties=2:5.2.2.1+dfsg-1+deb10u3 \ ruby-actionmailer=2:5.2.2.1+dfsg-1+deb10u3 Paolo