[wxruby-users] Distributing Windows WxRuby apps

Eric Will rakaur at malkier.net
Mon Mar 30 10:06:10 EDT 2009


On Mon, Mar 30, 2009 at 9:06 AM, Alex Fenton <alex at pressure.to> wrote:
> You can already save and load compiled instructions for the Ruby 1.9 virtual
> machine, using the VM::InstructionSequence class in Ruby core. However in
> the ruby distribution the method VM::InstructionSequence.load is disabled,
> but if you uncomment the relevant line (in iseq.c, near the end) and compile
> ruby, you can run ruby from saved VM instructions. I've tried it (to a
> limited extent) and it works.

That's very interesting, but not totally what I'm looking for. Kava
for Perl is a total packager into an exe. Perhaps it compiles the
bytecode and compresses the interpreter into an exe, I'm not sure.
RubyScript2Exe is unacceptably slow, so if "extract exe and all
libraries every time" is still the way to go, I can't use that. The
users of my GUI apps have no admin rights on their computers so I
can't install Ruby (or anything else). They only thing they can write
to is a home directory on a network share. Right now I just have a
version of Ruby shared on the network and we use that to run things,
but it sucks.

-- Eric Will


More information about the wxruby-users mailing list