From: Konrad Meyer Date: 2007-09-29T04:53:49+09:00 Subject: Re: Running Ruby code from a ZIP file ? --nextPart8331660.RduLrDCuif Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoth Ruby Maniac: > I would like to run Ruby code from a ZIP file directly rather than > extracting the contents of the ZIP into a folder and run from there. >=20 > I am familiar with the work done by this person: >=20 > http://www.erikveen.dds.nl/tar2rubyscript/index.html > http://www.erikveen.dds.nl/distributingrubyapplications/index.html >=20 > However I find those techniques to be too limiting for my purposes. >=20 > Eventually I would want to be able to run Ruby code from an encrypted > ZIP file as a Windows app - I don't care about Linux or Unix as there > are methods for getting Windows apps running from Linux or Unix > natively (see also WINE). That's... not the best assumption. > The work of erikveen (see above) is interesting only because that > approach does not attempt to make the Ruby source code encrypted only > to misdirect the novice user from the actual location of the source > code while the app is running however if the user happens to go poking > around their temp folder while the app is running they get to see the > Ruby source and this is unacceptable to me. >=20 > I would have thought someone might have done this already however so > far I have not been able to find that someone. >=20 > BTW - Python allows this already in version 2.5.1 aside from the being > encrypted part. You obviously love Python. If python is the-right-tool-for-the-job use it. = If=20 ruby is, use it, and live with the consequences. Regards, =2D-=20 Konrad Meyer http://konrad.sobertillnoon.com/ --nextPart8331660.RduLrDCuif Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBG/VvICHB0oCiR2cwRArbwAJ9+7sf41wJc3nuZBu+0l4SdNhlCPwCfVvhT Rpvx3cTv97CjzepHOXioWAM= =CkAu -----END PGP SIGNATURE----- --nextPart8331660.RduLrDCuif--