How to run my Ruby programs without installing 20,000 file?
Question
I have written quite a few Ruby programs, but if I need to show my friend one of the program, I need to install Ruby 1.8.6 on that computer, and that is 20,000 files. For running of my Ruby programs, is there a way besides this?
Solution
Have you looked into RubyScript2Exe?
OTHER TIPS
Put the files on a flash device
I think you only need to set RUBYLIB
to point over to the dev...
CodePad is neat. It lets you write quick demonstrative scripts, and run them.
The other answers are quite good, but really, it's an interpreted language. You should always expect that using it incurs the installation cost of the runtime. The one-click installer makes installation on windows pretty trivial. OS X has it preinstalled. Ubuntu let's you install it with a single apt-get
command. You make it sound like the installation is difficult but it really isn't.
package your application into .jar and bundle jruby with it. you will get single JAR file at the end, which you can doubleclick to run on most OS/Desktops