Not a valid win32 application? help, please

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. :frowning:

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.
[email protected]
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. :frowning:

Posted via 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)

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?