Thanks,
- Charles
http://www.erikveen.dds.nl/distributingrubyapplications/index.html
http://www.erikveen.dds.nl/rubyscript2exe/index.html
http://www.erikveen.dds.nl/tar2rubyscript/index.html
Just advertising my own projects and writings...
gegroet,
Erik V. - http://www.erikveen.dds.nl/
Thanks,
- Charles
http://exerb.sourceforge.jp/index.en.html
vlad:
ps: why exerb packed binary can be packed by UPX but rubyscript2exe
packed one cannot?
True. An executable generated by RubyScript2Exe can't be
compressed by UPX. I don't know why. But since RubyScript2Exe
(more precisely: EEE) compresses internally, you don't need to
compress it once again.
>> 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?
>
> http://www.erikveen.dds.nl/distributingrubyapplications/index.html
> http://www.erikveen.dds.nl/rubyscript2exe/index.html
> http://www.erikveen.dds.nl/tar2rubyscript/index.html
>
> 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
____________________________________________________________________
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.
http://www.freemail.gr - free email service for the Greek-speaking.
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...