[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to make an installer for an FXRuby app?

Daniel Wilkerson

3/28/2008 12:16:00 AM

I have FXRuby working on OS X. If I write an app in Ruby/FXRuby and get
it working, how do I package it so that people on Windows, *nix, and OS
X all can have a one-click installer for my app?
--
Posted via http://www.ruby-....

3 Answers

Thomas Wieczorek

3/28/2008 6:14:00 AM

0

On Fri, Mar 28, 2008 at 1:16 AM, Daniel Wilkerson
<daniel.wilkerson@gmail.com> wrote:
> I have FXRuby working on OS X. If I write an app in Ruby/FXRuby and get
> it working, how do I package it so that people on Windows, *nix, and OS
> X all can have a one-click installer for my app?
>

You could pack your app with Ruby2Exe [0], but you'd have to "compile"
it for each system, where you want to run it.
Another option might be to create a gem of your app and create a
minimal Ruby installation with your app and all require gems to run
it.
If you find an easier way, please let me know.

[0] http://www.erikveen.dds.nl/rubys...

Daniel Wilkerson

3/28/2008 8:22:00 AM

0

Thomas Wieczorek wrote:
> On Fri, Mar 28, 2008 at 1:16 AM, Daniel Wilkerson
> <daniel.wilkerson@gmail.com> wrote:
>> I have FXRuby working on OS X. If I write an app in Ruby/FXRuby and get
>> it working, how do I package it so that people on Windows, *nix, and OS
>> X all can have a one-click installer for my app?
>>
>
> You could pack your app with Ruby2Exe [0], but you'd have to "compile"
> it for each system, where you want to run it.

Hardly a burden. This is what I was looking for, as long as it works.
Thanks.

Have you actually tried it?

> [0] http://www.erikveen.dds.nl/rubys...

--
Posted via http://www.ruby-....

Thomas Wieczorek

3/29/2008 12:03:00 PM

0

On Fri, Mar 28, 2008 at 9:21 AM, Daniel Wilkerson
<daniel.wilkerson@gmail.com> wrote:
>
> Have you actually tried it?
>

Yeah, I tried it, but I had problems adding command line arguments,
but a friend solved it quickly. The documentation is not bad.