Menu

Tree [r10] /
 History

HTTPS access


File Date Author Commit
 lib 2009-08-08 olegpuchinin [r10] simple fix 2
 nbproject 2009-07-23 olegpuchinin [r1] first commit
 spec 2009-07-23 olegpuchinin [r1] first commit
 COPYING 2009-07-23 olegpuchinin [r1] first commit
 README 2009-07-31 olegpuchinin [r5] v1.1

Read Me


	RubyPack

Recently I've started to develop software using Ruby. It was terrible that I had to install (as root) all apps into some special directory. 
Another way was just to join all files into one (something like "$ cat ./*.rb >myprog"), but I've found prettier method:

The idea of my programme is to pack all files and then to zip. First line (how to execute) will contain path to my programme (like any script).

To use it we have to copy "rbz" to any directory of "$PATH" (I use ~/bin, you could work with /usr/local/bin).

To build .rbz file you have to:

$ rbz pack <rbz filename> <main ruby file>
$ chmod a+x <rbz filename>

Now you can start your application like any other:
$ ./<rbz filename>

Copy it to $PATH and enjoy ;)

You can get "rbz" from http://sf.net/projects/rubypack