# Making executable =P

**URL:** <https://www.ruby-forum.com/t/making-executable-p/103212>\
**Category:** Ruby\
**Created:** [May 3, 2007, 12:16am UTC](https://www.ruby-forum.com/t/making-executable-p/103212 "2007-05-03T00:16:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![raelz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@raelz](https://www.ruby-forum.com/u/raelz)\
**Post date:** [May 3, 2007, 12:16am UTC](https://www.ruby-forum.com/t/making-executable-p/103212/1 "2007-05-03T00:16:49Z")

</div>

Ehm… noob question though  
I did not really understood the ruby2exe thingy, i tried things like  
C:\Myhacks\EXE\rb2exe-0.2\>rb2exe.exe ut.rb  
C:\Myhacks\EXE\rb2exe-0.2\>rb2exe.exe ut.rb w  
C:\Myhacks\EXE\rb2exe-0.2\>rb2exe.exe ut.rb [w] -rubyscript2exe-quiet  
etc…  
ok, i know im making a terrible mistake, but i just dont understand that

facts:

1. Im on windows
2. Script name is ut.rb
3. Script is in the rb2exe directory
4. It’s a very simple script (almost like “hello world”)

Thx guys, hopefully you wont flame me off the world :\>

---

<div class="post-metadata">

**Author:** ![raelz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@raelz](https://www.ruby-forum.com/u/raelz)\
**Post date:** [May 3, 2007, 12:34am UTC](https://www.ruby-forum.com/t/making-executable-p/103212/2 "2007-05-03T00:34:31Z")

</div>

On 5/3/07, raelz [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 1. Script name is ut.rb
> 2. Script is in the rb2exe directory
> 3. It’s a very simple script (almost like “hello world”)
> 
> Thx guys, hopefully you wont flame me off the world :\>
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

Hi,

You want to make the exe?

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

In the directory containing ut.rb  
Try this

ruby rubyscript2exe.rb ut.rb

Harry

---

<div class="post-metadata">

**Author:** ![raelz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@raelz](https://www.ruby-forum.com/u/raelz)\
**Post date:** [May 3, 2007, 6:33am UTC](https://www.ruby-forum.com/t/making-executable-p/103212/3 "2007-05-03T06:33:43Z")

</div>

Harry K. wrote:

> Hi,
> 
> You want to make the exe?
> 
> [http://www.erikveen.dds.nl/rubyscript2exe/index.html](http://www.erikveen.dds.nl/rubyscript2exe/index.html)
> 
> In the directory containing ut.rb  
> Try this
> 
> ruby rubyscript2exe.rb ut.rb
> 
> Harry

but where to? 😛

---

<div class="post-metadata">

**Author:** ![raelz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@raelz](https://www.ruby-forum.com/u/raelz)\
**Post date:** [May 3, 2007, 6:59am UTC](https://www.ruby-forum.com/t/making-executable-p/103212/4 "2007-05-03T06:59:53Z")

</div>

On 5/3/07, Daniel J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > ruby rubyscript2exe.rb ut.rb
> > 
> > Harry
> 
> but where to? 😛

What?  
Sorry, I do not understand your question.  
I have not used this recently.  
But if I remember correctly,

At the command line, go to your directory and input according to this.

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

You should see it working for a few seconds.

Your exe file will be in the same directory.

Harry
