ocra
ocra copied to clipboard
"You may have encountered a bug in the Ruby interpreter or extension libraries."
The command I used was: ocra myapp.rbw lib/* data/* icons/* scripts/* --gem-minimal --no-enc Several "* Loaded features" were listed, that last one being Win32API.rb. After that, the ruby interpreter crashed and I got the error message "You may have encountered a bug in the Ruby interpreter or the extension libraries." Is there a way to get past this problem? (I tried --gem-guess and that had the same results). Is there a way to see which file has the problem or to know if the problem is with the Ruby interpreter? Thank you.
My current workaround is to call myapp.rbw from another script, app_init.rbw, that contains these 3 lines: require 'win32ole' cmd = "ruby myapp.rbw" WIN32OLE.new('Wscript.Shell').Run(cmd,0,1) Then I can use ocra to build an .exe like this: ocra app_init.rbw myapp.rbw lib/* data/* icons/* scripts/* --gem-minimal --no-enc --verbose