How to make an installer for an FXRuby app?

D

Daniel Wilkerson

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?
 
T

Thomas Wieczorek

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/
 
D

Daniel Wilkerson

Thomas said:
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?
 
T

Thomas Wieczorek

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.
 

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

Members online

Forum statistics

Threads
474,289
Messages
2,571,435
Members
48,120
Latest member
Natbelix

Latest Threads

Top