Production Code with Ruby

Hi,

I really like ruby it is simple and much like Smalltalk and Perl that I like.
But how can I create some production code ?

Can I Obfuscated the code ?
I will need to protect my code, if I create an application and selling it.

Regards
H.E

But how can I create some production code ?

for Windows, exerb might do the job.

please look at:

Do you know exerb?
http://exerb.sourceforge.jp/index.en.html

Good luck,
-A.

···

Armin Roehrl, http://www.approximity.com
We manage risk

“Warren” place4oracle@yahoo.com schrieb im Newsbeitrag
news:cd4fa09e.0306191037.6bb16f5f@posting.google.com

Hi,

I really like ruby it is simple and much like Smalltalk and Perl that I
like.
But how can I create some production code ?

Can I Obfuscated the code ?
I will need to protect my code, if I create an application and selling
it.

You might try this:

07:49:14 [temp]: cat obfuscate.rb

ARGF.each do |line|
unless /^=begin/ =~ line … /^=end/ =~ line
line.chomp!
line.gsub! /\s*#[^'"]$/, ‘’
print( line, “;” ) unless /^\s
$/ =~ line
end
end

print “\n”
07:49:16 [temp]:

:-))

robert

Use

http://www.rubygarden.org/ruby?DistributeARubyAppInASingleExecutable

and after this (the code is still readable with an hex editor in the
executable) you must encode the executable, for example with

http://www.siliconrealms.com/armadillo.shtml

which also deals with user key codes.

You may solve the problem socially instead of technically: make sure
the users know the license, and stipulate non-redistribution.

Ari

···

On Thu, 2003-06-19 at 12:55, Armin Roehrl wrote:

But how can I create some production code ?