# Not a valid win32 application? help, please

**URL:** <https://www.ruby-forum.com/t/not-a-valid-win32-application-help-please/139050>\
**Category:** Ruby\
**Created:** [May 30, 2008, 1:58pm UTC](https://www.ruby-forum.com/t/not-a-valid-win32-application-help-please/139050 "2008-05-30T13:58:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoephoenix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/45deac/32.png) [@zoephoenix](https://www.ruby-forum.com/u/zoephoenix)\
**Post date:** [May 30, 2008, 1:58pm UTC](https://www.ruby-forum.com/t/not-a-valid-win32-application-help-please/139050/1 "2008-05-30T13:58:01Z")

</div>

I don’t understand why my computer won’t run any of my Ruby programs  
now. It keeps saying that they’re not valid applications… I’ve tried  
uninstalling and re-installing Ruby and restarting my computer, but it  
didn’t fix anything. Can anybody tell me what the problem could be…??  
They worked a few hours ago. ☹

---

<div class="post-metadata">

**Author:** ![zoephoenix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/45deac/32.png) [@zoephoenix](https://www.ruby-forum.com/u/zoephoenix)\
**Post date:** [May 30, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/not-a-valid-win32-application-help-please/139050/2 "2008-05-30T16:33:42Z")

</div>

Has something reset your path?

try this:

\<full\_path\_to\_ruby\>\ruby.exe \<script\_to\_run\>

of course replace \<full\_path\_to\_ruby\> with something like C:\ruby\bin  
(or  
wherever ruby lives) and replace \<script\_to\_run\> with the name of the  
ruby  
script.

On Fri, May 30, 2008 at 5:58 AM, Zoe P.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> ## I don’t understand why my computer won’t run any of my Ruby programs now. It keeps saying that they’re not valid applications… I’ve tried uninstalling and re-installing Ruby and restarting my computer, but it didn’t fix anything. Can anybody tell me what the problem could be…?? They worked a few hours ago. ☹
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

–  
“Hey brother Christian with your high and mighty errand, Your actions  
speak  
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)

---

<div class="post-metadata">

**Author:** ![zoephoenix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/45deac/32.png) [@zoephoenix](https://www.ruby-forum.com/u/zoephoenix)\
**Post date:** [May 30, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/not-a-valid-win32-application-help-please/139050/3 "2008-05-30T18:05:33Z")

</div>

Zoe P. wrote:

> I don’t understand why my computer won’t run any of my Ruby programs  
> now.

Operating system and exact error message?
