Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
have you tried putting the full directory path? you have to set the current directory to that of your script first or put the full directory for it to work
rmxp can only read .rb file with require. you cannot use require to read .so file in rmxp but you can with the real ruby. as for reading a dll file you will need to use Win32API