exerb and GUI's

D

Dirk Meijer

------=_Part_6831_3719274.1136329227752
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

hi everyone :)
i was wondering if i can pack applications with GUI's using exerb, and whic=
h
GUI's, and how..
also, if there is any english documentation concerning this, could someone
point me to it?
greetings, Dirk.

------=_Part_6831_3719274.1136329227752--
 
K

Kevin Brown

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.
 
A

Alex Fenton

Dirk said:
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
 
K

Kevin Brown

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.

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. :)
 
A

Alex Fenton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

gui's for ruby? 5
YAML / Exerb problem 0
exerb and a threaded server 0
AW: YAML / Exerb problem 0
YARV 0.4.0 and ActiveRecord 1.13.2 rubygem 1
newb question? 6
method proposition 11
exerb problem - dll not found 1

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top