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) ?
With jruby you can pack your code in a jar, which makes it less accessible. You've got some options:
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