How to prevent my users to read my Ruby code?

后端 未结 2 1574
猫巷女王i
猫巷女王i 2021-01-28 03:20

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

Are there some efficient tricks to do that (apart from executing my code on a server) ?

相关标签:
2条回答
  • 2021-01-28 03:50

    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

    0 讨论(0)
  • 2021-01-28 04:09

    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 讨论(0)
提交回复
热议问题