# Exerb / native win32 compilers

**URL:** <https://rubytalk.org/t/exerb-native-win32-compilers/15894>\
**Category:** ruby-talk\
**Created:** [19 January 2005 21:51 UTC](https://rubytalk.org/t/exerb-native-win32-compilers/15894 "2005-01-19T21:51:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![John11](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@John11](https://rubytalk.org/u/John11)\
**Post date:** [19 January 2005 21:51 UTC](https://rubytalk.org/t/exerb-native-win32-compilers/15894/1 "2005-01-19T21:51:01Z")

</div>

I have been trying to make exerb work. I downloaded the windows version of exerb from [http://exerb.sourceforge.jp/index.en.html](http://exerb.sourceforge.jp/index.en.html).

The documentation is extremely poor with the faq seeming more interested in explaining how to pronounce the name rather than how to make it work.

From what i can see - I have to make a recipe file from my file.rb then import that using the tool, which will make an executable.

So how do I make a recipe file? I followed the line:  
$ ruby -r exerb/mkrbc foo.rb  
which which I translated to: ruby -r exerb/mkrbc path/to/ruby/file  
and got this error: ruby:No such file to load -- exerb/mkrbc (LoadError)

What am I doing wrong? Are there any other native win32 compilers that are easier to use?

John

---

<div class="post-metadata">

**Author:** ![Richard\_Lyman](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@Richard\_Lyman](https://rubytalk.org/u/Richard_Lyman)\
**Post date:** [19 January 2005 22:25 UTC](https://rubytalk.org/t/exerb-native-win32-compilers/15894/2 "2005-01-19T22:25:40Z")

</div>

> I have been trying to make exerb work. I downloaded the windows version of  
> exerb from [http://exerb.sourceforge.jp/index.en.html\](http://exerb.sourceforge.jp/index.en.html%5C).
> 
> The documentation is extremely poor with the faq seeming more interested in  
> explaining how to pronounce the name rather than how to make it work.
> 
> From what i can see - I have to make a recipe file from my file.rb then import  
> that using the tool, which will make an executable.
> 
> So how do I make a recipe file? I followed the line:  
> $ ruby -r exerb/mkrbc foo.rb  
> which which I translated to: ruby -r exerb/mkrbc path/to/ruby/file  
> and got this error: ruby:No such file to load -- exerb/mkrbc (LoadError)

I think it's now mkexr, but read on...

> What am I doing wrong? Are there any other native win32 compilers that are  
> easier to use?
> 
> John

You'll probably want to be very careful with the use of the word  
'compiler'. Exerb is \_not\_ a compiler. It is more of a packager.

To simplify things you might want to get EZExerb. It's an FXRuby  
front-end that I wrote a while ago for exerb (I haven't looked at it  
in quite a while and I'm not even sure if it still works).

I'd always been frustrated by the lack of documentation with exerb,  
but my questions had always been answered either here or on the exerb  
mailing list.

I'm not really sure if exerb's even still maintained.

In the end, you probably should start here:

> **[WebMD - Better information. Better health.](https://www.webmd.com/?DistributeARubyAppInASingleExecutable)**
>
> The leading source for trustworthy and timely health and medical news and information. Providing credible health information, supportive community, and educational services by blending award-winning expertise in content, community services, expert...

... and you'll probably end up using Tar2RubyScript and RubyScript2Exe.

Erik Veenstra (the maintainer of Tar2RubyScript and RubyScript2Exe) is  
very actively developing them, and is apparently quite open to  
suggestions/bug reports.

As much as I've loved exerb, I'd probably switch too if I was 'still  
in the business'.

-Rich

> **···**
>
> On Thu, 20 Jan 2005 06:51:01 +0900, John Trunek \<jtrunek@hotmail.com\> wrote:

---

<div class="post-metadata">

**Author:** ![tony\_summerfelt](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@tony\_summerfelt](https://rubytalk.org/u/tony_summerfelt)\
**Post date:** [21 January 2005 23:54 UTC](https://rubytalk.org/t/exerb-native-win32-compilers/15894/3 "2005-01-21T23:54:32Z")

</div>

> So how do I make a recipe file? I followed the line:  
> $ ruby -r exerb/mkrbc foo.rb  
> which which I translated to: ruby -r exerb/mkrbc path/to/ruby/file  
> and got this error: ruby:No such file to load -- exerb/mkrbc (LoadError)

that's pretty much where i ended up too...

> What am I doing wrong? Are there any other native win32 compilers that are  
> easier to use?

i've been playing around with ruby2exe...i like it so far...  
[http://home.cogeco.ca/~tsummerfelt1](http://home.cogeco.ca/~tsummerfelt1)  
telnet://ventedspleen.dyndns.org

> **···**
>
> On Thu, 20 Jan 2005 06:51:01 +0900, you wrote:
