Coming from PHP, I’m used to seeing things like Zend Encoder that can
take PHP and pseudo-compile it, obscuring the source (useful in the
event you want to sell a product written in said language). I haven’t
found a direct equivalent with Ruby (though if you know of one I’d
like to hear about it), but it occurs to me that JRuby might be used
to do something similar.
The idea is that I’d like to write a Rails application, “compile” or
“encrypt” it as a WAR file for distribution, and be able to do so
without disclosing the source code to some one (for commercial
purposes). Can JRuby do that?