ocra fred.rb --windows c:\Ruby193\lib\tcltk\ --add-all-core --no-dep-
run --no-autoload
... and it produced a .exe file. However, on running the .exe, the
program runs for a bit without producing a GUI window and then it just
dies with no errors.
Any clues much appreciated.
On Dec 12, 10:11 pm, Gustav Andersson <gustavlidi...@gmail.com> wrote:
> Googled and found
> this:http://stackoverflow.com/questions/7510748/ruby-deploying-an-exe-with...
... if that will help. Bests, JC.
The thing to do is to copy the ruby file you wish to compile to the C:
\Ruby193\lib folder which contains the tcltk directory and then run
ocra there as follows....
ocra fred.rb tcltk --no-autoload
... then you can copy the resulting .exe file to wherever you want
afterwards and it runs fine.