RAA - tar2rubyscript/0.3.8

tar2rubyscript / 0.3.8

Short description: A tool for distributing your Ruby-application
Category: Application/Package management
Status: stable
Created: 2003-08-31 16:03:51 GMT
Last update: 2004-06-07 19:21:09 GMT
Owner: Erik Veenstra (Projects of this owner)
Homepage: http://www.erikveen.dds.nl/tar2rubyscript/index.html
Download: http://www.erikveen.dds.nl/tar2rubyscript/download/tar2rubyscript.rb
License: GPL
Dependency:
None
Description:

Tar2RubyScript generates a standalone Ruby script from an
existing TAR archive or directory, which contains a complete
Ruby application (scripts plus files). When this Ruby script is
run, it does a temporary installation of that application, just
before executing it. So, it's a way of executing your
application, not of installing it. You might think of it as the
Ruby version of Java's JAR... Let's call it an RBA (Ruby
Archive).

"It's Ruby's JAR..."

Because the RBA is pure Ruby and no other programs or libraries
are needed, it's easy to distribute it to friends. They don't
have to install anything but Ruby itself.

Unlike the JAR-people, we don't need a new extension for RBA's.
A JAR isn't a Java Class, it contains a Java class; an RBA both
is and contains a Ruby script. It's also easier to change the
format of an RBA in the future, because the algorithm to handle
the RBA comes with it at a cost in bytes of less then 10K.
Another difference between the two is the starting point: JAR
does something with a manifest; RBA just loads init.rb. And,
well, they compress, we don't.

The combination of Tar2RubyScript and RubyScript2Exe is of
special interest: A complete Ruby application can be
distributed as one executable (for Windows):

* Tar2RubyScript creates a standalone Ruby script (or RBA, Ruby
Archive) of the application and its directory. This RBA can
run on "the Ruby platform". This means that Ruby itself must
be installed on the targeted system.

* RubyScript2Exe avoids this dependency by compiling a
rubyscript (in casu the RBA), the Ruby interpreter and the
Ruby runtime environment into one executable (for Windows).

Versions: [0.4.8 (2006-07-03)] [0.4.7 (2005-06-24)] [0.4.6 (2005-06-20)] [0.4.5 (2005-03-26)] [0.4.4 (2005-01-18)] [0.4.3 (2005-01-13)] [0.4.2 (2004-12-27)] [0.4.1 (2004-12-18)] [0.4.0 (2004-12-03)] [0.3.8 (2004-06-07)]

Edit this project (for project owner)

back to RAA top