Can you be more specific about the word "secure"? If you mean, "can I ship customers a Rails app that they themselves run, either on their own servers or an appliance, while keeping them from seeing the source code?", then the answer is "no". You should be aware that the same answer applies to Python, Perl, Tcl, Java, and C#. Bytecode is trivially decompiled back to readable source code.
For python use .pyc or .pyo - ofcourse they can be decompiled but then so can be a .class
Re: Stupid security question on Rails
#11Yes, and both a .class and a .pyc file are completely equivalent to source code. Why bother?