On 8/28/08, Michael Morin <uzimonkey / gmail.com> wrote:
> Rock Roll wrote:
> > If I am developing a Windows application in Ruby using FxRuby or WxRuby,
> > compile and create the executable, will i need ruby in another computer
> > in order to run the standalone application? Sorry if my question is so
> > silly.
> >
> I've never done this on Ruby, but I have with a few Perl programs. There
> were some programs like "perl to exe" that would bundle your Perl programs,
> any required libraries, etc with a perl interpreter into a self-extracting
> exe.  You simply ran the exe to run the program.  A quick google tells me
> something like this exists for Ruby:
>
> http://www.erikveen.dds.nl/rubyscript2exe/
>
> But I'm sure someone here has done this and can give you some more specific
> advice.
>
I have used rubyscript2exe with FxRuby, and it works fine.  (Startup
can be a little slow, as it unpacks a bunch of stuff to a temporary
directory, but after that it works great.)

-Adam