On Tue, 2006-06-06 at 11:33 +0900, Edgardo Hames wrote:
> Hi,
> 
> Is there a way to bzip2 a file from Ruby without invoking the unix
> app? I want to create a bzipped tarball without using any external
> programs so my app can run using anything but plain ol' Ruby. I'm
> already using archive-tar-minitar to create the tarball but now I need
> a way to compress it.

I don't know of any pure ruby implementations of the bzip2 algorithm. I
suspect that if there's any libraries out there, they'd bind libbz2...
at which point it's also not pure ruby.

Aria