# How to make an installer for an FXRuby app?

**URL:** <https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133118>\
**Category:** Ruby\
**Created:** [March 28, 2008, 1:16am UTC](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133118 "2008-03-28T01:16:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dewie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@dewie](https://www.ruby-forum.com/u/dewie)\
**Post date:** [March 28, 2008, 1:16am UTC](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133118/1 "2008-03-28T01:16:34Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![dewie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@dewie](https://www.ruby-forum.com/u/dewie)\
**Post date:** [March 28, 2008, 7:15am UTC](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133118/2 "2008-03-28T07:15:15Z")

</div>

On Fri, Mar 28, 2008 at 1:16 AM, Daniel Wilkerson  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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/](http://www.erikveen.dds.nl/rubyscript2exe/)

---

<div class="post-metadata">

**Author:** ![dewie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@dewie](https://www.ruby-forum.com/u/dewie)\
**Post date:** [March 28, 2008, 9:21am UTC](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133118/3 "2008-03-28T09:21:43Z")

</div>

Thomas W. wrote:

> On Fri, Mar 28, 2008 at 1:16 AM, Daniel Wilkerson  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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/](http://www.erikveen.dds.nl/rubyscript2exe/)

---

<div class="post-metadata">

**Author:** ![dewie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@dewie](https://www.ruby-forum.com/u/dewie)\
**Post date:** [March 29, 2008, 1:03pm UTC](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133118/4 "2008-03-29T13:03:30Z")

</div>

On Fri, Mar 28, 2008 at 9:21 AM, Daniel Wilkerson  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.
