Crear executable aplication

hello

How can I to create a executable file of a ruby program to go with it to
a machine that haven’t installing ruby?

On Fri, Aug 19, 2011 at 5:37 PM, Ybir G. [email protected] wrote:

hello

How can I to create a executable file of a ruby program to go with it to
a machine that haven’t installing ruby?


Phillip G.

phgaw.posterous.com | twitter.com/phgaw | gplus.to/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
– Leibniz

Because Google search actually gives all the less than perfect
solutions first, let me also mention the Ocra gem.

https://rubygems.org/gems/ocra

– Matma R.

2011/8/19 Phillip G. [email protected]:

On 8/19/2011 10:37, Yábir G. wrote:

hello

How can I to create a executable file of a ruby program to go with it to
a machine that haven’t installing ruby?

Assuming your target platform is Windows, I hear that ocra
(http://rubyforge.org/projects/ocra) is the currently recommended tool.
I’ve not tried it myself though.

I’m not sure what to suggest if your target platform is something other
than Windows.

-Jeremy

Nick K. wrote in post #1017575:

Is Ocra the recommended tool? Not too long ago I was following
vertiginous’
exerb-mingw: GitHub - vertiginous/exerb-mingw: Exerb support for mingw/rubyinstaller, which is a fork
from the older, unmaintained version.

Nick,

Both Ocra and exerb are valid tools, it depends on the type of
executable you want to create.

He even wrote a blog post about which tool might suit your needs better:

http://vert.igino.us/2011/01/05/exerb-101-building-windows-executables-with-ruby/

Since the original poster do not mention his needs, is not clear which
one is going to fit better those needs.

Exerb requires a higher understanding of what you’re doing, which is not
good for newcomers that “just want and exe”.


Luis L.

Is Ocra the recommended tool? Not too long ago I was following
vertiginous’
exerb-mingw: GitHub - vertiginous/exerb-mingw: Exerb support for mingw/rubyinstaller, which is a fork
from the older, unmaintained version.

He even wrote a blog post about which tool might suit your needs better:
http://vert.igino.us/2011/01/05/exerb-101-building-windows-executables-with-ruby/

-Nick K.