用于企业客户的Ruby Ruby / JRuby上的模糊Rails应用程序
问题描述:
对于企业客户,谁将在其服务器上运行Rails应用程序,我们不想给他们Rails应用的源代码。
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.
使用MRI Ruby甚至JRuby可以:
Is it possible, using MRI Ruby or even JRuby, to:
- 模糊源代码
- 在JRuby的情况下,将Rails应用程序设置为.jar / .war(所以它是模糊的和字节码)
- 如果是Ruby Ruby,将Rails应用程序打包成EXE
任何想法如果可以的话?
Any thoughts on if this is possible?
答
我已经使用 RubyEncoder 。它是交叉平台,非常灵活。如果我记得正确,它只能用于MRI。
检查是否符合您的需求。
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.