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
精彩评论