Tried to install ruby 3.0.3 on my MacOS but got this error at start:
bash$ asdf install ruby 3.0.3
"$errmsg" is not exported by the Digest::SHA module
Can't continue after import errors at /usr/local/bin/shasum line 24.
BEGIN failed--compilation aborted at /usr/local/bin/shasum line 24.
Compilation kept on going, but failed at a later state.