# Exerb and GUI's

**URL:** <https://www.ruby-forum.com/t/exerb-and-guis/51592>\
**Category:** Ruby\
**Created:** [January 4, 2006, 12:01am UTC](https://www.ruby-forum.com/t/exerb-and-guis/51592 "2006-01-04T00:01:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 4, 2006, 12:01am UTC](https://www.ruby-forum.com/t/exerb-and-guis/51592/1 "2006-01-04T00:01:16Z")

</div>

hi everyone 🙂  
i was wondering if i can pack applications with GUI’s using exerb, and  
which  
GUI’s, and how…  
also, if there is any english documentation concerning this, could  
someone  
point me to it?  
greetings, Dirk.

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 4, 2006, 12:17am UTC](https://www.ruby-forum.com/t/exerb-and-guis/51592/2 "2006-01-04T00:17:41Z")

</div>

On Tuesday 03 January 2006 17:00, Dirk M. wrote:

> hi everyone 🙂  
> i was wondering if i can pack applications with GUI’s using exerb, and  
> which GUI’s, and how…  
> also, if there is any english documentation concerning this, could someone  
> point me to it?  
> greetings, Dirk.

rubyscript2exe does packing of at least KDE ruby code just fine.

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 4, 2006, 1:07am UTC](https://www.ruby-forum.com/t/exerb-and-guis/51592/3 "2006-01-04T01:07:15Z")

</div>

Dirk M. wrote:

> i was wondering if i can pack applications with GUI’s using exerb, and which  
> GUI’s, and how…  
> You can pack wxruby using Exerb. You’d use a line in your .exr recipe  
> like

add\_extension\_library wxruby.so C:/path/to/wxruby.so

As mentioned, you probably should look at rubyscript2exe for creating  
ruby executables. It’s newer and superior to exerb in almost all  
respects. It should work with most ruby GUIs (fox, wx, tk). Maybe  
slightly more complicated for GUIs built with external dependencies  
(GTK?), but still do-able.

alex

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 4, 2006, 1:16am UTC](https://www.ruby-forum.com/t/exerb-and-guis/51592/4 "2006-01-04T01:16:27Z")

</div>

On Tuesday 03 January 2006 18:03, Alex F. wrote:

> should work with most ruby GUIs (fox, wx, tk). Maybe slightly more  
> complicated for GUIs built with external dependencies (GTK?), but still  
> do-able.

Uh, seems less complicated from what you’re saying about recipies? All  
I do  
to package my Korundum app is:

tar2rubyscript directoryname  
rubyscript2exe directoryname.rb

And I have an executable called directoryname\_linux. That’s it. The  
only  
thing you have to do to your code is have a file called init.rb that  
actually  
makes it go. It packages all the dependencies, etc.

So no, it’s not more complicated. 🙂

---

<div class="post-metadata">

**Author:** ![dirk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dirk](https://www.ruby-forum.com/u/dirk)\
**Post date:** [January 4, 2006, 2:45am UTC](https://www.ruby-forum.com/t/exerb-and-guis/51592/5 "2006-01-04T02:45:56Z")

</div>

> > Maybe slightly more  
> > complicated for GUIs built with external dependencies (GTK?), but still  
> > do-able.
> 
> Uh, seems less complicated from what you’re saying about recipies?

Recipes are just for exerb. Annoying whatever GUI package you’re using.  
One more good reason to use rs2exe.

I wasn’t trying to kick GTK. All I wanted to point out was that for GTK,  
if you’re creating a package intended for distribution, your Windows  
users will need the GTK+ runtime - either you must supply all the bits,  
or they need to download and install it (as with GIMP).

Fxruby and wxruby are both standalone binaries on windows, so what  
rubyscript2exe finds is all rubyscript2exe needs to run on any Windows  
machine.

a
