开发者

How to prevent my users to read my Ruby code?

开发者 https://www.devze.com 2023-01-29 04:55 出处:网络
I want to prevent my users to read my ruby code. Are there some effici开发者_如何学Goent tricks to do that (apart from executing my code on a server) ?With jruby you can pack your code in a jar, whic

I want to prevent my users to read my ruby code.

Are there some effici开发者_如何学Goent tricks to do that (apart from executing my code on a server) ?


With jruby you can pack your code in a jar, which makes it less accessible. You've got some options:

  • do it yourself
  • use rawr to package standalone apps, even with UI
  • use warble for packing rails apps

Hope this helps


There are gems like Tar2RubyScript, RubyScript2Exe which help you distributing your ruby code. You can read http://www.erikveen.dds.nl/distributingrubyapplications/rails.html for more information

0

精彩评论

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