When I try to run Ruby script, I get the 1157 Load Error.
Hi Gour.
Your previous post indicates that you’re almost there. The test app ran
under a windows emulator, and under native windows you get error 1157
(which means “ERROR_DLL_NOT_FOUND: One of the library files needed to
run this application cannot be found.”)
Find out which dlls are required by the ruby .so extension and make sure
each and every one is on the PATH. Better not rely on assumptions that
something will be found because it’s in the same directory as something
else.
You need a tool like cygwin’s “cygcheck.exe” for examining the required
dlls. cygcheck.exe works like ldd on unix; it is a 30kbyte standalone
tool that does not require any other cygwin components. It’s in the
cygwin package named “cygwin”. You may find a bare cygcheck.exe via google.