I've been using ocra with Ruby 1.9.3 happily for I think 10 months now...
Suddenly, I tried packaging a project I've been working on for quite a long time and I got an error message. I didn't update ruby, I didn't update ocra, nothing changed but the code for the project itself, but suddenly it doesn't build it now. I tried simplifying the command so there are no fancy arguments (simplified from "ocra --chdir-first --windows DarkStar.rb lib/*" to "ocra DarkStar.rb"), but I still get the same error.
~/Dropbox/DarkStar> ocra DarkStar.rb
=== Loading script to check dependencies
=== Detected gem gosu-0.7.45-x86-mingw32 (loaded, files)
=== 45 files, 7876743 bytes
=== Detected gem string-encrypt-0.0.5 (loaded, files)
=== 6 files, 15626 bytes
=== Including 52 encoding support files (5179608 bytes, use --no-enc to exclude)
=== Building DarkStar.exe
=== Adding user-supplied source files
=== Adding ruby executable ruby.exe
=== Adding detected DLL C:/Ruby193/bin/libeay32-1.0.0-msvcrt.dll
=== Adding detected DLL C:/Ruby193/bin/ssleay32-1.0.0-msvcrt.dll
=== Adding detected DLL C:/Ruby193/bin/ZLIB1.dll
=== Adding detected DLL C:/Ruby193/lib/ruby/gems/1.9.1/gems/gosu-0.7.45-x86-ming
w32/lib/OpenAL32.dll
=== Adding detected DLL C:/Ruby193/lib/ruby/gems/1.9.1/gems/gosu-0.7.45-x86-ming
w32/lib/libsndfile.dll
=== Adding library files
=== Compressing 29808581 bytes
The syntax of the command is incorrect.
C:/Ruby193/lib/ruby/gems/1.9.1/gems/ocra-1.3.1/bin/ocra:1018:in `block in initia
lize': unhandled exception
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ocra-1.3.1/bin/ocra:998:in `ope
n'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ocra-1.3.1/bin/ocra:998:in `ini
tialize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ocra-1.3.1/bin/ocra:837:in `new
'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ocra-1.3.1/bin/ocra:837:in `bui
ld_exe'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ocra-1.3.1/bin/ocra:1153:in `bl
ock in <top (required)>'