[as2api-dev] Re: as2api - 'compile' to one executable file

David Holroyd dave at badgers-in-foil.co.uk
Wed Sep 20 11:31:46 UTC 2006


On Wed, Sep 20, 2006 at 09:49:07AM +0200, Ralf Lindemann wrote:
> Hi Dave, 
> 
> first: good job on as2api ;)
> 
> second: we did some chances due to "special" requirements.

Cool!  What sort of stuff are you up to?


> The question: HOW, the hell ;), do we have to compile the package to get ONE
> single executable file?
> 
> We tried rubyscript2exe, but this one needs to be copied with gtk-lib, to
> run on other computers, and we tried exerb, this on doesn't run if called
> form another directory AND needs to be copied with all files and libs.
> We are looking for a solution with only one exe-file, like your original
> file.
> 
> Could you please give us some hints? 

Well, I used rubyscript2exe to create the windows .exe of the cmdline
tool.

[A very early version of as2api included a toy GUI using the FXRuby UI
toolkit, and that was packaged with rubyscript2exe too.]

I think it's possible to package GTK ruby apps with this tool, but I've
not done that myself.

Have you read this..?

  http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips_rubyscript2exe

..I don't know if it helps at all.


As a last resort, I suppose you could try to get users to intall GTK
first?  ;)



ta,
dave



More information about the as2api-dev mailing list