# Rb2exe info

**URL:** <https://www.ruby-forum.com/t/rb2exe-info/107100>\
**Category:** Ruby\
**Created:** [June 18, 2007, 6:08am UTC](https://www.ruby-forum.com/t/rb2exe-info/107100 "2007-06-18T06:08:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mschwab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/59ef9b/32.png) [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Post date:** [June 18, 2007, 6:08am UTC](https://www.ruby-forum.com/t/rb2exe-info/107100/1 "2007-06-18T06:08:54Z")

</div>

I heard there’s a program that compiles Ruby scripts to exe’s, but the  
only  
pages I found on it were in Japanese. Does anyone have any info about it  
in  
English?

Mike S.

---

<div class="post-metadata">

**Author:** ![mschwab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/59ef9b/32.png) [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Post date:** [June 18, 2007, 6:24am UTC](https://www.ruby-forum.com/t/rb2exe-info/107100/2 "2007-06-18T06:24:55Z")

</div>

On 6/18/07, Mike S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I heard there’s a program that compiles Ruby scripts to exe’s, but the only  
> pages I found on it were in Japanese. Does anyone have any info about it in  
> English?
> 
> Mike S.

Are you talking about Exerb?  
[http://exerb.sourceforge.jp/index.en.html](http://exerb.sourceforge.jp/index.en.html)

Or

RubyScript2Exe  
[http://www.erikveen.dds.nl/rubyscript2exe/index.html](http://www.erikveen.dds.nl/rubyscript2exe/index.html)

Harry

–

A Look into Japanese Ruby List in English  
[http://www.kakueki.com/](http://www.kakueki.com/)

---

<div class="post-metadata">

**Author:** ![mschwab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/59ef9b/32.png) [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Post date:** [June 20, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/rb2exe-info/107100/3 "2007-06-20T17:56:02Z")

</div>

It was called rb2exe, if I remember correctly.

Mike S.

---

<div class="post-metadata">

**Author:** ![mschwab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/59ef9b/32.png) [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Post date:** [June 20, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/rb2exe-info/107100/4 "2007-06-20T19:18:17Z")

</div>

Dear Mike,

some automatic translation program gave the following  
translation of this page:

[http://arton.no-ip.info/collabo/backyard/?Rb2Exe](http://arton.no-ip.info/collabo/backyard/?Rb2Exe),

* * *

Rb2exe is the front end of Exerb where Yuya is developed.

It is included in ASR-1.8.5.x beforehand. In addition when it installs,  
it is registered to the start menu.

Rb2exe.zip Environment rb2exe designates that ruby.exe and exerb.bat and  
mkexy.bat are installed to the identical directory as prerequisite.

In addition, it is necessary for ActiveScriptRuby to be installed.

However, when the execution of HTA is prohibited, it cannot execute.

Rb2exe.hta which utilization methodological installation rb2exe.zip is  
downloaded either, develops in the suitable directory or doing, is  
housed directly is removed.

You are not concerned the arrangement directory of rb2exe.hta anywhere.

It starts with double click and the like from the starting explorer.

When rb2exe operation methodological mkexy mode (ãƒ¬ã‚·ãƒ”ãƒ•ã‚¡ã‚¤ãƒ«  
formation)“mkexy” is selected in command, it becomes mkexy mode.

The script file which forms script file ãƒ¬ã‚·ãƒ”ãƒ•ã‚¡ã‚¤ãƒ« (extension rb) it  
appoints.  
Command mkexy or exerb is selected. When require it has done the other  
script, please appoint mkexy.  
The character code usually it means to select sjis or utf8, probably  
will be.  
Script execution parameter mkexy one time executes the script file which  
is appointed. This time, the parameter which becomes necessary for the  
execution of the script is input.  
Processing is started with execution click.  
The contents which you reset input are reset.  
When it succeeds in the formation of ãƒ¬ã‚·ãƒ”ãƒ•ã‚¡ã‚¤ãƒ«, the execution result of  
the script (output contents) with, the ãƒ¬ ã‚· ãƒ” file which is formed is  
indicated.

Continuing, appointing ãƒ¬ã‚·ãƒ”ãƒ•ã‚¡ã‚¤ãƒ« which is formed, when it executes Exerb,  
please click “the Exerb” button. When it succeeds in formation,  
execution completion indication of exerb mode of the next section is  
done.

When Exerb is not executed, please click message. It returns to the  
original picture.

When “exerb” is selected in command, it becomes exerb mode.

ãƒ¬ã‚·ãƒ”ãƒ•ã‚¡ã‚¤ãƒ« which forms the script file executable file (extension exy) or  
the script file (extension rb) it appoints.  
Command mkexy or exerb is selected. When require it has done the other  
script, appointing mkexy, first please draw up ãƒ¬ã‚·ãƒ”ãƒ•ã‚¡ã‚¤ãƒ«.  
The character code usually it means to select sjis or utf8, probably  
will be.  
It is the stub cord/code which is used for the formation of the core  
executable file (later description).  
Processing is started with execution click.  
The contents which you reset input are reset.  
When compilation completes, the completion picture is indicated.

To return to the operation picture, please click message indication.

When error indication it becomes error the execution time of exerb or  
mkexy, the error reason is indicated.

To return to the operation picture, please click the error indicatory  
department.

Type cui of core feasibility console application is formed  
independently.

Gui feasibility non console application is formed independently.  
Because you cannot use standard input-output, error message of the time  
of exceptional is indicated with the dialogue box. The execution time  
cuirt the execution time library (exerb40.  
dll) the console application which is utilized is formed. The execution  
time guirt the execution time library (exerb40.  
dll) the non console application which is utilized is formed. Because  
you cannot use standard input-output, error message of the time of  
exceptional is indicated with the dialogue box. The execution time  
library of Exerb, in case of the ASR package, is housed in ruby  
installation directory \share\exerb.  
When the plural executable files are drawn up, when execution time  
library edition is formed, it can control the file size which is  
necessary for distribution.

Because source rb2exe is HTA, it is possible to refer to directly.

The source is referred to (rb2exe.

hta).

* * *

Best regards,

Axel
