# How to deploy a Ruby executable?

**URL:** <https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294>\
**Category:** Ruby\
**Created:** [January 18, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294 "2007-01-18T19:53:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmmarsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@rmmarsh](https://www.ruby-forum.com/u/rmmarsh)\
**Post date:** [January 18, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294/1 "2007-01-18T19:53:28Z")

</div>

I have looked everywhere and can’t find answers to the following  
questions:

1. Can I create a compiled executable with Ruby as I can with other  
languages?
2. How does one deploy a Ruby application?

If someone could please point me to where in any documentation this is  
covered, I would be most grateful.

---

<div class="post-metadata">

**Author:** ![rmmarsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@rmmarsh](https://www.ruby-forum.com/u/rmmarsh)\
**Post date:** [January 18, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294/2 "2007-01-18T21:00:07Z")

</div>

Rolf Marsh wrote:

> I have looked everywhere and can’t find answers to the following  
> questions:
> 
> 1. Can I create a compiled executable with Ruby as I can with other  
> languages?
> 2. How does one deploy a Ruby application?
> 
> If someone could please point me to where in any documentation this is  
> covered, I would be most grateful.

Take a look at the rubyscript2exe gem, it packages your script along  
with all the necessary standard library files and the interpreter into  
an .exe file you can run on any windows box.

---

<div class="post-metadata">

**Author:** ![rmmarsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@rmmarsh](https://www.ruby-forum.com/u/rmmarsh)\
**Post date:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294/3 "2007-01-19T16:30:58Z")

</div>

Rolf Marsh wrote:

> > > covered, I would be most grateful.
> > 
> > Take a look at the rubyscript2exe gem, it packages your script along  
> > with all the necessary standard library files and the interpreter into  
> > an .exe file you can run on any windows box.
> 
> Thank you… now, can you tell me where all of this is documented?  
> Also, I am interested in creating some GUI programs, and would like to  
> see what is available for the GUI.

download the gem and read the documentation … it does what you want

---

<div class="post-metadata">

**Author:** ![rmmarsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@rmmarsh](https://www.ruby-forum.com/u/rmmarsh)\
**Post date:** [January 18, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294/4 "2007-01-18T21:15:01Z")

</div>

Drew O. wrote:

> Rolf Marsh wrote:
> 
> > I have looked everywhere and can’t find answers to the following  
> > questions:
> > 
> > 1. Can I create a compiled executable with Ruby as I can with other  
> > languages?
> > 2. How does one deploy a Ruby application?
> > 
> > If someone could please point me to where in any documentation this is  
> > covered, I would be most grateful.
> 
> Take a look at the rubyscript2exe gem, it packages your script along  
> with all the necessary standard library files and the interpreter into  
> an .exe file you can run on any windows box.

Thank you… now, can you tell me where all of this is documented?  
Also, I am interested in creating some GUI programs, and would like to  
see what is available for the GUI.

---

<div class="post-metadata">

**Author:** ![rmmarsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@rmmarsh](https://www.ruby-forum.com/u/rmmarsh)\
**Post date:** [January 19, 2007, 10:20pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294/5 "2007-01-19T22:20:48Z")

</div>

bbiker wrote:

> Rolf Marsh wrote:
> 
> > > > covered, I would be most grateful.
> > > 
> > > Take a look at the rubyscript2exe gem, it packages your script along  
> > > with all the necessary standard library files and the interpreter into  
> > > an .exe file you can run on any windows box.
> > 
> > Thank you… now, can you tell me where all of this is documented?  
> > Also, I am interested in creating some GUI programs, and would like to  
> > see what is available for the GUI.
> 
> download the gem and read the documentation … it does what you want

In the docs folder for ruby gems (C:\Program  
Files\ruby\lib\ruby\gems\1.8\doc\rubyscript2exe-0.5.1), there is no  
documentation for rubyscript2exe gem… the folder is empty…

What now?

And where do I find docs for the GUI? Sorry to be such a dummy, but I’m  
new to Ruby and am having a hard time finding my way around…

---

<div class="post-metadata">

**Author:** ![rmmarsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@rmmarsh](https://www.ruby-forum.com/u/rmmarsh)\
**Post date:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294/6 "2007-01-19T16:31:46Z")

</div>

Rolf Marsh wrote:

> > > covered, I would be most grateful.
> > 
> > Take a look at the rubyscript2exe gem, it packages your script along  
> > with all the necessary standard library files and the interpreter into  
> > an .exe file you can run on any windows box.
> 
> Thank you… now, can you tell me where all of this is documented?  
> Also, I am interested in creating some GUI programs, and would like to  
> see what is available for the GUI.

download the gem and read the documentation … it does what you want

---

<div class="post-metadata">

**Author:** ![rmmarsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@rmmarsh](https://www.ruby-forum.com/u/rmmarsh)\
**Post date:** [January 19, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/how-to-deploy-a-ruby-executable/82294/7 "2007-01-19T23:25:17Z")

</div>

[http://www.erikveen.dds.nl/rubyscript2exe/index.html](http://www.erikveen.dds.nl/rubyscript2exe/index.html)
