How can I add the iconv extension to Ruby?

IIUC, the .so files are just the connection ruby needs to the actual
iconv.dll - you still need that.

You should download and compile iconv and readline from GNU.org.

ps. If you’re on windows, try downloading binaries and plonking them in
the ruby/bin dir.