Obfuscating Rails app on MRI Ruby / JRuby for a en

2019-02-24 05:02发布

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?

1条回答
叛逆
2楼-- · 2019-02-24 05:33

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.

查看更多
登录 后发表回答