开发者

Obfuscating Rails app on MRI Ruby / JRuby for a enterprise customer [duplicate]

This question already has answers here: 开发者_开发技巧 Encoding Ruby on Rails code? (5 answers) Closed 3 years ago.

For a enterprise customer, who will be running our Rails app on their servers, we don't want to give them the source code of a Rails app.

Is it possible, using MRI Ruby or even JRuby, to:

  1. Obfuscate the source code
  2. In case of JRuby, make the Rails app into a .jar/.war (so it's obfuscated and byte-code)
  3. In case of MRI Ruby, package the Rails app into an EXE

Any thoughts on if this is possible?


i've used RubyEncoder. it is crossplatform and very flexible. if i remember correctly it works only with MRI. check if it fits your needs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜