Ruby almost builds on x32, with just the detection of the coroutine implementation using the incompatible x86 version instead of amd64 which does work with x32. This can easily be handled in the ebuild.
Created attachment 894558 [details] Use --with-coroutine to manually override auto detection