This has been fixed in a new Debian Release (2.2.7+dfsg-1). Tested a package built on Focal and these warnings go away.
Specifically they added two patches:
0006-Fix-warnings-for-ruby-2.7.patch
0007-Fix-more-warnings-under-ruby-2.7.patch
Since this is in universe but a popular too, hoping we can sneak in a Debian sync for Focal with the new version as well to fix this otherwise I can look to submit a patch for the warnings specifically.
This has been fixed in a new Debian Release (2.2.7+dfsg-1). Tested a package built on Focal and these warnings go away.
Specifically they added two patches: warnings- for-ruby- 2.7.patch more-warnings- under-ruby- 2.7.patch
0006-Fix-
0007-Fix-
Since this is in universe but a popular too, hoping we can sneak in a Debian sync for Focal with the new version as well to fix this otherwise I can look to submit a patch for the warnings specifically.