On Dec 21, 5:16   ⮮ 
> Daniel Berger wrote:
>
> > What's my motivation? Mainly MS Windows. I run a hand built version of
> > Ruby, and getting the zlib wrapper to build with MS VC++ is such a
> > colossal PITA that I'd like to avoid it completely. Beyond that,
> > however, is that it eliminates a third party dependency (zlib) and
> > gives me the ability to create gems. At the moment I can only read
> > them.
>
> As a cheap shortcut, could you store a base64-encoded zlib dll in a .rb
> file, decode it, then call it with DL or FFI?

I'm not really sure how to do that, and it's not really what I'm
looking for I'm afraid.

Regards,

Dan