# Standalone application

**URL:** <https://rubytalk.org/t/standalone-application/20647>\
**Category:** ruby-talk\
**Created:** [6 September 2005 20:41 UTC](https://rubytalk.org/t/standalone-application/20647 "2005-09-06T20:41:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Forrest\_Chang](https://avatars.discourse-cdn.com/v4/letter/f/90ced4/32.png) [@Forrest\_Chang](https://rubytalk.org/u/Forrest_Chang)\
**Post date:** [6 September 2005 20:41 UTC](https://rubytalk.org/t/standalone-application/20647/1 "2005-09-06T20:41:28Z")

</div>

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/distributingrubyapplications/index.html)  
> [http://www.erikveen.dds.nl/rubyscript2exe/index.html](http://www.erikveen.dds.nl/rubyscript2exe/index.html)  
> [Tar2RubyScript - A Tool for Distributing Ruby Applications](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

---

<div class="post-metadata">

**Author:** ![Damphyr](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@Damphyr](https://rubytalk.org/u/Damphyr)\
**Post date:** [7 September 2005 16:45 UTC](https://rubytalk.org/t/standalone-application/20647/2 "2005-09-07T16:45:45Z")

</div>

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/distributingrubyapplications/index.html)  
> > [http://www.erikveen.dds.nl/rubyscript2exe/index.html](http://www.erikveen.dds.nl/rubyscript2exe/index.html)  
> > [Tar2RubyScript - A Tool for Distributing Ruby Applications](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.

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) - Ã¤Ã¹Ã±Ã¥ÃÃ­ ÃµÃ°Ã§Ã±Ã¥Ã³ÃÃ¡ Ã§Ã«Ã¥ÃªÃ´Ã±Ã¯Ã­Ã©ÃªÃ¯Ã½ Ã´Ã¡Ã·ÃµÃ¤Ã±Ã¯Ã¬Ã¥ÃÃ¯Ãµ.  
> [http://www.freemail.gr](http://www.freemail.gr) - free email service for the Greek-speaking.

---

<div class="post-metadata">

**Author:** ![Erik\_Veenstra2](https://avatars.discourse-cdn.com/v4/letter/e/e19adc/32.png) [@Erik\_Veenstra2](https://rubytalk.org/u/Erik_Veenstra2)\
**Post date:** [19 September 2005 14:11 UTC](https://rubytalk.org/t/standalone-application/20647/3 "2005-09-19T14:11:37Z")

</div>

> 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  
&nbsp;&nbsp;executable. This interpreter comes with Exerb. RubyScript2Exe  
&nbsp;&nbsp;uses the Ruby interpreter which is used to run RubyScript2Exe  
&nbsp;&nbsp;itself, the one already installed on the system.

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

\* Exerb doesn't compress the result. (But the result could be  
&nbsp;&nbsp;compressed by UPX, if you want to.) RubyScript2Exe does  
&nbsp;&nbsp;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/](http://www.erikveen.dds.nl/)
