AW: executable ruby without interpreter?


(marcbey) #1

IIRC, there’s a tool called rb2exe or ruby2exe. Use google to find it.

but:
Rb2exe is a program for converting ruby scripts to executable
files. A program created by rb2exe requires the ruby interpreter.

is there no posibility without th interpreter?

marc


(Yohanes Santoso) #2

“marcbey” mail@marcbey.de writes:

IIRC, there’s a tool called rb2exe or ruby2exe. Use google to find it.

but:
Rb2exe is a program for converting ruby scripts to executable
files. A program created by rb2exe requires the ruby interpreter.

is there no posibility without th interpreter?

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

In general, any ruby executable has to have ruby interpreter
somewhere, whether it is embedded in the executable or as a separate
entity. This is because ruby is a dynamic language where you can
create, manipulate, or even change the flow of the program at
runtime. That is why an interpreter is required.

US/