I don't know when this happened (cause it seems it was quite a while ago), but ruby doesn't use configure to setup dependencies. In the build log, I've noticed: configure: WARNING: Unrecognized options: --disable-socks, --enable-ipv6, --disable-debug, --with-dbm, --with-gdbm, --with-openssl, --without-tk so I took a look at configure.in. There was no such options there. Further reading lead to README, with following text: 4. Remove comment mark(#) before the module names from ext/Setup (or add module names if not present), if you want to link modules statically. If you don't want to compile non static extension modules (probably on architectures which does not allow dynamic loading), remove comment mark from the line "#option nodynamic" in ext/Setup. so current ebuild is simply incorrect. I don't know anything about ruby, so I can't tell if anything more than sed-ing that file (ext/Setup) is needed.
This issue is already reported in bug #230748. I'm currently getting in touch with upstream to resolve that. Can someone with access please mark this a duplicate? *cough*
OK, if it's already known... *** This bug has been marked as a duplicate of bug 230748 ***
Just hoping you came up with a valid solution soon. Just a minor question: when I filed this bug, I marked it as normal, when it got assigned it got changed to major, but bug 230748 is only minor. Shouldn't this get changed, after all automagic deps are an important problem ?