Standalone application

Erik Veenstra <pan@erikveen.dds.nl> writes:

I'm new to ruby and I wanted to know if there is a way to
make a standalone ruby binary, I'm running Mac OS X and
Linux?

Distributing Ruby Applications - Theory and Practice of Building, Packing and Distributing Ruby Applications
http://www.erikveen.dds.nl/rubyscript2exe/index.html
Tar2RubyScript - A Tool for Distributing Ruby Applications

Just advertising my own projects and writings...

I wanna give Erik a plug. I've been succesfully using the bottom 2
apps to make standalone ruby apps for one of my projects. Very handy.
Erik is also very responsive, I found a bug in tar2rubyscript and he
fixed it immediately.

Sometime in the near future, I'll probably try to port rubyscript2exe to solaris.

Forrest

Forrest Chang wrote:

Erik Veenstra <pan@erikveen.dds.nl> writes:

I'm new to ruby and I wanted to know if there is a way to
make a standalone ruby binary, I'm running Mac OS X and
Linux?

Distributing Ruby Applications - Theory and Practice of Building, Packing and Distributing Ruby Applications
http://www.erikveen.dds.nl/rubyscript2exe/index.html
Tar2RubyScript - A Tool for Distributing Ruby Applications

Just advertising my own projects and writings...

I wanna give Erik a plug. I've been succesfully using the bottom 2
apps to make standalone ruby apps for one of my projects. Very handy.
Erik is also very responsive, I found a bug in tar2rubyscript and he
fixed it immediately.

OK, since Erik is also listening, and I want to know:
What's the comparison between exrb and rubyscript2exe (on Windows, don't go mentioning that exrb only runs on windows).
I was having problems making EXEs that used REXML with exrb (that was some months ago) and I'm pretty interested in having EXEs with FOX and REXML code.
By the way the documentation on rubyscript2exe is breathtaking. WOW!
V.-

···

____________________________________________________________________
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.

OK, since Erik is also listening, and I want to know: What's
the comparison between exrb and rubyscript2exe (on Windows,
don't go mentioning that exrb only runs on windows).

Late response, have been on holiday...

Since I don't know anything about the internals of Exerb and
the site doesn't reveal the internals, I can't tell the
difference between Exerb and RubyScript2Exe. A couple of thinks
I know (or expect):

* Exerb uses a "patched" ruby interpreter in the generated
  executable. This interpreter comes with Exerb. RubyScript2Exe
  uses the Ruby interpreter which is used to run RubyScript2Exe
  itself, the one already installed on the system.

* Exerb uses a recipe file. I don't know what information this
  file contains, but you have to generate one before you can
  "compile" your application. RubyScript2Exe only uses the
  application itself.

* Exerb doesn't compress the result. (But the result could be
  compressed by UPX, if you want to.) RubyScript2Exe does
  compress the generated executable.

* Number of supported platforms and portability. (Sorry...)

* RubyScript2Exe is written in pure Ruby.

If you're able to read Japanese, you could read the
doc/inside.jp.rd file which comes with Exerb, read the
RubyScript2Exe site (which is in English) and tell me the
differences...

I was having problems making EXEs that used REXML with exrb
(that was some months ago) and I'm pretty interested in
having EXEs with FOX and REXML code.

Both Fox and ReXML are reported to work with RubyScript2Exe.
I've no experience myself with either of them.

By the way the documentation on rubyscript2exe is
breathtaking. WOW!

Thanks...

gegroet,
Erik V. - http://www.erikveen.dds.nl/