Notes:
OCRA (One-Click Ruby Application) builds Windows executables from Ruby
source code. The executable is a self-extracting, self-running
executable that contains the Ruby interpreter, your source code and
any additionally needed ruby libraries or DLL.
Changes:
=== 1.2.0
* Ignore console events (Ctrl-C, Ctrl-Break). Ruby process handles
them anyway and exist, allowing the stub to clean up temporary
files.
* Temporary memory used for decompression is now freed before the ruby
interpreter is launched by the stub.
* Progress dialog is no longer displayed when removing temporary
files.
* Now includes most files from any require'd Rubygem (Now works with
mime-types, oledb and other gems that load additional data files
from the Gem installation). Some files are still ignored
(e.g. Readme's). Use "--no-gem-filter" to make Ocra unconditionally
include all files listed in the Gem specification (Thanks to Jorge
L. Cangas for patch & ideas).
* NameErrors are now rescued when attempting to load autoloadable
constants. Hopefully resolves issues with ActiveRecord [#28488].
* Now works if the script changes environment or working directory
while running.
* Fixed a regression in 1.1.4 when resource files are specified;
directory layout would not be maintained, e.g. when running "ocra
bin/script share/data.dat".
* Added support for passing arguments to script. Specify argument to
your script after a "--" marker. Arguments will be passed both at
compile time and run time. (#27815)
|