How to encrypt Ruby script..

The right question is, “How do i obfuscate my ruby source code ?”.
Ruby is interpreted and seems like you would like to have something like a compiled binary or a bytecode. All ways I know about of doing this are payed.

http://rubyencoder.com/

They will compile to a bytecode for you if you are worried about your intelectual property.

Radhames Brito wrote in post #1071531:

The right question is, "How do i obfuscate my ruby source code ?".
Ruby is interpreted and seems like you would like to have something like
a
compiled binary or a bytecode. All ways I know about of doing this are
payed.

http://rubyencoder.com/

They will compile to a bytecode for you if you are worried about your
intelectual property.

Even this will do little to protect your intellectual property. Even
languages like Java that, by design, compile into intermediate byte code
can be trivially decompiled back into surprisingly readable source code.

Languages that compile directly into native machine code like C and
variants can provide better protection, but even that won't stop someone
motivated to crack your code.

Executable code in any form cannot be made completely safe:
http://boomerang.sourceforge.net/cando.php?hidemenu