Eric C. wrote in post #1097900:
The way to distribute programs is to package them as rubygems. You need
to make an executable file in the rubygem, and when the gem is
installed, the user can run the program by typing the filename at the
command prompt. For example, the visualruby program has a file named
“vr” that installs in the gem directory. So when a user types “vr” at
the command prompt, visualruby runs.
In visualruby, create a gemspec file, and make an executable file. For
The gemspecs are a bit confusing because everything is allowed to have a
different name (the program, the executable, the project and the gem).
Try using the visualruby examples to learn.
hello,Eric,thank you for your kind answer.
But I am afraid that you may misunderstand what i meant.
To make the question clear:
Could somebody use my vr-program without installing ruby?How?
I got another quention:When I run the vr-program(by “ruby main.rb”),I
got a really big cmd-window.
How can I get rid of it?
Thanks again for your help!