add Ruby port

Still a WIP, but first push is pending.