# A Problem after installation of ruby on windows xp

**URL:** <https://www.ruby-forum.com/t/a-problem-after-installation-of-ruby-on-windows-xp/121871>\
**Category:** Rails\
**Created:** [December 2, 2007, 8:41am UTC](https://www.ruby-forum.com/t/a-problem-after-installation-of-ruby-on-windows-xp/121871 "2007-12-02T08:41:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vamsi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b38774/32.png) [@vamsi](https://www.ruby-forum.com/u/vamsi)\
**Post date:** [December 2, 2007, 8:41am UTC](https://www.ruby-forum.com/t/a-problem-after-installation-of-ruby-on-windows-xp/121871/1 "2007-12-02T08:41:50Z")

</div>

Hi

i’ve installed ruby and rails on my pc based on windows Xp, and when i  
attempt to run a ruby program it simply displays " ruby is not  
recognized as an internal or external coomand" even though i set the  
path to c:\ruby\bin… and some times i didn’t get this message ,  
instead of this , when i run a program it display nothing it simply  
shows the prompt…

```
           How to over come this problem ...can any body help me

```

tosolve this problem…

```
                                                               BYE
```

---

<div class="post-metadata">

**Author:** ![vamsi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b38774/32.png) [@vamsi](https://www.ruby-forum.com/u/vamsi)\
**Post date:** [December 2, 2007, 3:24pm UTC](https://www.ruby-forum.com/t/a-problem-after-installation-of-ruby-on-windows-xp/121871/2 "2007-12-02T15:24:24Z")

</div>

Vamsi K. wrote:

> Hi
> 
> i’ve installed ruby and rails on my pc based on windows Xp, and when i  
> attempt to run a ruby program it simply displays " ruby is not  
> recognized as an internal or external coomand" even though i set the  
> path to c:\ruby\bin… and some times i didn’t get this message ,  
> instead of this , when i run a program it display nothing it simply  
> shows the prompt…
> 
> ```
> How to over come this problem ...can any body help me
> 
> ```
> 
> tosolve this problem…
> 
> ```
> BYE
> 
> ```

well, you can always right click on a file with the extension, .rb,  
and then open, and say to always open with ruby.  
your might have to browse to it.  
that is what i did.

you can also do instant rails. it is a real gem.

---

<div class="post-metadata">

**Author:** ![vamsi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b38774/32.png) [@vamsi](https://www.ruby-forum.com/u/vamsi)\
**Post date:** [December 2, 2007, 5:28pm UTC](https://www.ruby-forum.com/t/a-problem-after-installation-of-ruby-on-windows-xp/121871/3 "2007-12-02T17:28:14Z")

</div>

On Dec 2, 6:24 am, Trent B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > ```
> > How to over come this problem ...can any body help me
> > 
> > ```
> 
> –  
> Posted viahttp://www.ruby-forum.com/.

if setting the path and file association in windows explorer (Tools /  
Folder options / Filetypes) doesn’t do it, you might have to mess with  
ASSOC and FTYPE per this thread for python

[http://groups.google.com/group/comp.lang.python/browse\_frm/thread/8ed6d03307df1a6a](http://groups.google.com/group/comp.lang.python/browse_frm/thread/8ed6d03307df1a6a)?

---

<div class="post-metadata">

**Author:** ![vamsi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b38774/32.png) [@vamsi](https://www.ruby-forum.com/u/vamsi)\
**Post date:** [December 2, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/a-problem-after-installation-of-ruby-on-windows-xp/121871/4 "2007-12-02T18:44:11Z")

</div>

Vamsi K. wrote:

> Hi
> 
> i’ve installed ruby and rails on my pc based on windows Xp, and when i  
> attempt to run a ruby program it simply displays " ruby is not  
> recognized as an internal or external coomand" even though i set the  
> path to c:\ruby\bin… and some times i didn’t get this message ,  
> instead of this , when i run a program it display nothing it simply  
> shows the prompt…
> 
> ```
> How to over come this problem ...can any body help me
> 
> ```
> 
> tosolve this problem…
> 
> ```
> BYE
> 
> ```

Where exactly did you install Ruby? Is it in C:\ruby\bin or C:\Program  
Files\ruby\bin or somewhere else?
