How to make an installer for an FXRuby app?

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?

On Fri, Mar 28, 2008 at 1:16 AM, Daniel Wilkerson
[email protected] 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/rubyscript2exe/

Thomas W. wrote:

On Fri, Mar 28, 2008 at 1:16 AM, Daniel Wilkerson
[email protected] 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/rubyscript2exe/

On Fri, Mar 28, 2008 at 9:21 AM, Daniel Wilkerson
[email protected] 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs