From: Takashi & Kayoko Sano Date: 2003-09-04T00:03:43+09:00 Subject: Re: exerb, bruby and ruby 1.8.0 Hi, oleg dashevskii wrote: > Hello, > > On Wed, Sep 03, 2003 at 08:36:59PM +0900, Javier Fontan wrote: > > > One posibility is to compress the executable with UPX or > > somethink like this. It's not really secure as it can be > > decompressed with se same tool, but your code can not be > > directly seen. > > Oh, I tried PECompact, but in vain. The resulting file goes > segmentation fault :-) > Doesn't surprise me that much, because exerb itself deals with .exe > contents and here we go packing on top of that. Furthermore, all > scripts and .so's are > just appended to the .exe and cannot be packed either. According to Exerb's author, you can't compress executables created by Exerb. But instead you can compress the ruby core, extentions (.so) except for the ones dynamically linked by other extentions, and your scripts (called 'archive' in Exerb) respectively. (Don't ask me why because I'm just translating what the author saids in his Japanese documents!) If your purpose of compression is just preventing people from casually looking at your code, compressing the archive will suffice. You can instruct Exerb to compress archive files by -z command line option or 'compress yes' line in your recipe file. Hope this helps, ------------------------------------- Technical Writer/Translator Takashi Sano E-mail: tksano@m3.kcn.ne.jp URL: http://www3.kcn.ne.jp/~tksano/ -------------------------------------