||A "Just-in-Time and Temporary Installation of Ruby"
||2004-07-30 16:36:30 GMT
||2006-07-03 14:33:05 GMT
(Projects of this owner)
As you know, Ruby has to be installed, either by unzipping a
ZIP-file, or by running an installer. Only then, you can run a
script. Well, not anymore!
AllInOneRuby creates an compressed executable for Windows or
Linux that includes both the Ruby interpreter and the runtime
libraries. Why? Because it's sometimes not easy, or possible,
or desirable, or allowed to do a complete Ruby installation.
That's where AllInOneRuby comes in. I always have a USB-memory
stick with AllInOneRuby in my pocket.
A "just-in-time and temporary installation of Ruby"...
Because of the gathering of files from your own Ruby
installation, AllInOneRuby creates an executable for the
platform it's being run on. No cross compile.
And when I say Windows, I mean both Windows (RubyInstaller,
MinGW and MSWin32) and Cygwin. But the generated exe under
Cygwin is very, very big, because its exe's are very big
(static?) and it includes cygwin1.dll, so it can run on
machines without Cygwin.
What's the difference between RubyScript2Exe and AllInOneRuby?
Well, RubyScript2Exe includes an application (your script) and
only parts of the rubylib tree (it's stripped specifically for
that application). AllInOneRuby contains a complete Ruby
installation: it includes no application, but it does include
the complete rubylib tree. You can use allinoneruby.exe like
ruby.exe that's already installed on your system. In other
words: the executable, generated with RubyScript2Exe, is an
application; the one generated with AllInOneRuby "is" Ruby.