(maint) Add debugging when loading ruby dynamic library

Works for me.