Note that there are some explanatory texts on larger screens.

plurals
  1. POCan you Distribute a Ruby on Rails Application without Source?
    text
    copied!<p>I'm wondering if it's possible to distribute a RoR app for production use without source code? I've seen <a href="https://stackoverflow.com/questions/55711/options-for-distribution-of-an-offline-ruby-on-rails-application">this post on SO</a>, but my situation is a little different. This would be an app administered by people with some clue, so I'm cool with still requiring an Apache/Mongrel/MySQL setup on the customer end. All I really want is for the source to be protected. Encoding seems a popular way to go for distributing PHP apps (eg: <a href="http://www.userscape.com/" rel="nofollow noreferrer">Helpspot</a>).</p> <p>I've found these potential solutions:</p> <ul> <li><a href="http://blog.zenspider.com/zenobfuscate/" rel="nofollow noreferrer">Zenobfuscate</a> - not all types of Ruby code is supported however, so that counts that out</li> <li><a href="http://www.rubyencoder.com/" rel="nofollow noreferrer">Ruby Encoder</a> - may be the best option, as their PHP encoder looks alright (I haven't tried it however) but it's not available yet. I've used IONcube for PHP before and it worked well, but <a href="http://forum.ioncube.com/viewtopic.php?t=839" rel="nofollow noreferrer">it doesn't seem that IONcube is interested yet</a>.</li> <li><a href="http://joyent.com/developers/slingshot/" rel="nofollow noreferrer">Slingshot</a> - it was mentioned in the other SO post, but it solves a different problem to mine and the source is still visible.</li> <li><a href="http://www.erikveen.dds.nl/distributingrubyapplications/rails.html" rel="nofollow noreferrer">RubyScript2Exe</a> - from the doco, it's not production ready, so that counts that out.</li> </ul> <p>I've heard that potentially using JRuby and distributing bytecode might be a way to achieve this, but I've never used JRuby so I'm not sure what's involved.</p> <p>Can anyone offer any ideas and/or known examples? Ideally I'd love to have some kind of automated build scenario as well.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload