(maint) Add debugging when loading ruby dynamic library

:+1: