views:

246

answers:

3

possible to convert ruby script to exe so that source code not visible ?

A: 

RubyScript2Exe is probably what you are looking for. It should meet all of your needs, but supposedly generates a large executable under windows because of static linking with cygwin.

beta
No. RubyScript2Exe will package up your source code, so the source code is most definitely visible.
ChrisInEdmonton
A: 

There's also the possibility to obfuscate the code, so that reading is getting close to impossible.

Bobby
That would be Perl ;P
Fabiano PS
@Fabiano PS: Perl, the only language which is *after* RSA-Encryption more readable. ;)
Bobby
+3  A: 

If you use RubyScript2Exe you source code can always be read. The explanation here : http://www.erikveen.dds.nl/rubyscript2exe/#3.4.3 .

Maybe, like Bobby said, the obfuscation is a better way. But hiding the source code is often a bad idea.

nicknick63