'compiling' ruby code into an msdos exe file

Anybody done this? I would like to ‘compile’ ruby for packaging
purposes.

I know ruby is interpreted so it will not be easy to ‘compile’.

has anyone done it successfully?

There are five or six projects that do this, with varying degrees of
success. The Shoes packager packages up Shoes apps, there’s Ocra,
rubyscript2exe, crate…

Where do I get a working copy of rubyscript2exe…the ones I downloaded
all have errors in them when I run ruby 1.8.7, the level I am at.

Joe

2011/10/16 Joe C. [email protected]:

Where do I get a working copy of rubyscript2exe…the ones I downloaded
all have errors in them when I run ruby 1.8.7, the level I am at.

Unless you have a good reason to stay with rubyscript2exe, I suggest
you to use the Ocra gem.

https://rubygems.org/gems/ocra

– Matma R.