# Help Ruby with Vista

**URL:** <https://www.ruby-forum.com/t/help-ruby-with-vista/127029>\
**Category:** Ruby\
**Created:** [January 24, 2008, 11:25am UTC](https://www.ruby-forum.com/t/help-ruby-with-vista/127029 "2008-01-24T11:25:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kelleysislander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Post date:** [January 24, 2008, 11:25am UTC](https://www.ruby-forum.com/t/help-ruby-with-vista/127029/1 "2008-01-24T11:25:50Z")

</div>

So I have used Ruby problem free on Windows XP however I am having  
problems using Ruby with Windows Vista. When I double click on a script  
that I have writen to run it the command prompt comes on and then  
dissapers. I think my program is executing just fine only I can never  
see it.  
This same thing happens when I am using Scite, only with Scite I can  
tell that the program has executed because of the Output side of Scite  
shows me it is working. I just cant see it run in the command prompt.  
Kind of frusterating, please help me. I never had a problem like this  
with XP.

Thanks for your replies,  
Bill

---

<div class="post-metadata">

**Author:** ![kelleysislander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Post date:** [January 24, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/help-ruby-with-vista/127029/2 "2008-01-24T15:55:43Z")

</div>

On 24 ene, 08:25, Bill K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

I’ll suggest you open a command prompt and have it all the time,  
instead of rely on Scite or any other IDE console output.

I also suggest you use a more powerful console interface [1] instead  
of simple Windows Command Prompt.

AFAIK, my installation of Windows XP with One-Click installer behave  
the same way you described, but that is normal behavior since it’s  
calling ruby.exe which is a console application.

[1] [Console download | SourceForge.net](http://sourceforge.net/projects/console)

HTH,

---

<div class="post-metadata">

**Author:** ![kelleysislander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Post date:** [January 24, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/help-ruby-with-vista/127029/3 "2008-01-24T17:45:39Z")

</div>

Luis L. wrote:

> On 24 ene, 08:25, Bill K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > 
> 
> I’ll suggest you open a command prompt and have it all the time,  
> instead of rely on Scite or any other IDE console output.
> 
> I also suggest you use a more powerful console interface [1] instead  
> of simple Windows Command Prompt.
> 
> AFAIK, my installation of Windows XP with One-Click installer behave  
> the same way you described, but that is normal behavior since it’s  
> calling ruby.exe which is a console application.
> 
> [1] [Console download | SourceForge.net](http://sourceforge.net/projects/console)
> 
> HTH,

thanks I will try it.

---

<div class="post-metadata">

**Author:** ![kelleysislander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Post date:** [January 24, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/help-ruby-with-vista/127029/4 "2008-01-24T18:56:47Z")

</div>

Bill K. wrote:

> So I have used Ruby problem free on Windows XP however I am having  
> problems using Ruby with Windows Vista. When I double click on a script  
> that I have writen to run it the command prompt comes on and then  
> dissapers. I think my program is executing just fine only I can never  
> see it.  
> This same thing happens when I am using Scite, only with Scite I can  
> tell that the program has executed because of the Output side of Scite  
> shows me it is working. I just cant see it run in the command prompt.  
> Kind of frusterating, please help me. I never had a problem like this  
> with XP.

Use rubyw.exe rather than ruby.exe

Best regards,

Jari W.

---

<div class="post-metadata">

**Author:** ![kelleysislander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Post date:** [January 24, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/help-ruby-with-vista/127029/5 "2008-01-24T20:05:20Z")

</div>

Jari W. wrote:

> Bill K. wrote:
> 
> > So I have used Ruby problem free on Windows XP however I am having  
> > problems using Ruby with Windows Vista. When I double click on a script  
> > that I have writen to run it the command prompt comes on and then  
> > dissapers. I think my program is executing just fine only I can never  
> > see it.  
> > This same thing happens when I am using Scite, only with Scite I can  
> > tell that the program has executed because of the Output side of Scite  
> > shows me it is working. I just cant see it run in the command prompt.  
> > Kind of frusterating, please help me. I never had a problem like this  
> > with XP.
> 
> Use rubyw.exe rather than ruby.exe
> 
> Best regards,
> 
> Jari W.

Thanks for your comments. Just wanted to thank you guys for your quick  
responses and apologize for all of my spelling errors. I wrote this late  
last night after getting off of a ten hour shift. I must have been  
tired. Thanks again guys.
