Thread: [Fxruby-users] using fxruby with exerb?
Status: Inactive
Brought to you by:
lyle
From: Emmanuel T. <emm...@wa...> - 2003-12-11 08:47:40
|
Hello, I was wondering if there is support for the combination ruby+fxruby+fox as exerb script? I've had success with ruby+exerb, with a filesize of the binary of ~400k + my script size (plus size of standard library files i'm using, eg find.rb). Is it possible to get a single .exe or an .exe with DLLs and distribute a FXRuby application like this? If yes, what is then the size of the .exe file and related DLLs you have to ship? Figuring it should be a common question, i searched for quite a while for this, without clear answer on the net... thank you for any help. emmanuel PS: advantages of using fxruby with exerb are numerous: simple installation, and even more: transparent upgrade from eg ruby 1.6 to 1.8 without the client noticing. |
From: Emmanuel T. <emm...@wa...> - 2003-12-11 08:50:22
|
Emmanuel Touzery wrote: > > PS: advantages of using fxruby with exerb are numerous: simple > installation, and even more: transparent upgrade from eg ruby 1.6 to > 1.8 without the client noticing. (or upgrade of fxruby versions etc) |
From: meinrad r. <mei...@gm...> - 2003-12-11 12:51:39
|
Emmanuel Touzery wrote: > Hello, > > I was wondering if there is support for the combination > ruby+fxruby+fox as exerb script? I've had success with ruby+exerb, with > a filesize of the binary of ~400k + my script size (plus size of > standard library files i'm using, eg find.rb). > Is it possible to get a single .exe or an .exe with DLLs and > distribute a FXRuby application like this? If yes, what is then the size > of the .exe file and related DLLs you have to ship? > > Figuring it should be a common question, i searched for quite a while > for this, without clear answer on the net... > > thank you for any help. > > emmanuel > > PS: advantages of using fxruby with exerb are numerous: simple > installation, and even more: transparent upgrade from eg ruby 1.6 to 1.8 > without the client noticing. > hi, i am using fxruby with exerb without any problems and got filesizes of about 1.2 mb. |
From: Emmanuel T. <emm...@wa...> - 2003-12-11 13:04:43
|
meinrad recheis wrote: > Emmanuel Touzery wrote: > >> Hello, >> >> I was wondering if there is support for the combination >> ruby+fxruby+fox as exerb script? I've had success with ruby+exerb, >> with a filesize of the binary of ~400k + my script size (plus size of >> standard library files i'm using, eg find.rb). > > > hi, i am using fxruby with exerb without any problems and got > filesizes of about 1.2 mb. > great! how did you do it? can you send me a .rbc recipe? Is it like: the recipe includes the .rb files of FXruby, and you ship extra the DLLs of FOX? it just seems very complicated from here because it's nowhere written how to do it. i actually thought it was not possible.. emmanuel |
From: Lyle J. <ly...@kn...> - 2003-12-11 13:10:40
|
On Dec 11, 2003, at 2:50 AM, Emmanuel Touzery wrote: > I was wondering if there is support for the combination > ruby+fxruby+fox as exerb script? I've had success with ruby+exerb, > with a filesize of the binary of ~400k + my script size (plus size of > standard library files i'm using, eg find.rb). > Is it possible to get a single .exe or an .exe with DLLs and > distribute a FXRuby application like this? If yes, what is then the > size of the .exe file and related DLLs you have to ship? I haven't tried this lately, but it used to work (with earlier versions of exerb). If you try it and actually run into problems, please let us know. For that matter, if you try it and it works fine, let us know that too ;) |
From: Emmanuel T. <emm...@wa...> - 2003-12-11 13:23:47
|
Lyle Johnson wrote: > I haven't tried this lately, but it used to work (with earlier > versions of exerb). If you try it and actually run into problems, > please let us know. For that matter, if you try it and it works fine, > let us know that too ;) WOW. sorry for the dumb questions... i just tried, it worked perfect the first time... i would never think it was so easy. i was sure there was some black magic involved... but i still have a question: even though the original file was .rbw (to avoid opening of an output text window) the result binary does open a DOS console when run. any way to disable that? otherwise the resulting binary is ~5Mb (ruby 1.6). that's a lot, but that'll do. Zipped it's 1.5Mb. So, great! Then, the only problem left is the DOS console... emmanuel |
From: Takashi & K. S. <tk...@m3...> - 2003-12-11 13:42:51
|
Hi Emmanuel, Emmanuel Touzery <emm...@wa...> wrote: > but i still have a question: even though the original file was . > rbw (to > avoid opening of an output text window) the result binary does > open a > DOS console when run. any way to disable that? You need to specify the ruby core file for GUI. exerb has two variations of ruby core files, one is for cui such as ruby168c.rbx and the other is for gui such as ruby168g.rbx. You have to specify a core file ending with "g" in your recipe file. Takashi Sano |
From: Emmanuel T. <emm...@wa...> - 2003-12-11 13:47:26
|
Takashi & Kayoko Sano wrote: >Hi Emmanuel, > >Emmanuel Touzery <emm...@wa...> wrote: > > >>but i still have a question: even though the original file was . >>rbw (to >>avoid opening of an output text window) the result binary does >>open a >>DOS console when run. any way to disable that? >> >> > >You need to specify the ruby core file for GUI. exerb has two >variations of ruby core files, one is for cui such as >ruby168c.rbx and the other is for gui such as ruby168g.rbx. >You have to specify a core file ending with "g" in your recipe >file. > > wonderful... thank you very much. exerb is really very very impressive stuff. plus, now i can finally dump ruby 1.6 and ship binaries based on 1.8 :O) emmanuel |
From: Cribbs, J. <Jam...@oa...> - 2003-12-12 21:16:54
|
Emmanuel Touzery wrote: > Hello, > > PS: advantages of using fxruby with exerb are numerous: simple > installation, and even more: transparent upgrade from eg ruby 1.6 to > 1.8 without the client noticing. I would also like to recommend rubyscript2exe. It does something similar to exerb. I have used it with to create an exe for an fxruby script with good results. Use it with UPX and you can get fairly small executables. Jamey Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments. |