conflicting cygwin and windows path

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-04-10T13:43:51Z Indexed on 2010/04/10 13:53 UTC
Read the original article Hit count: 189

Filed under:
|
|
|

if my windows path looks like this:

c:\ruby\bin;c:\cygwin\bin

then when i go into cgywin and enter "ruby" it will execute the ruby from c:\ruby\bin, failing to find the ruby installed in my cygwin. I have to exclude that path so cygwin would execute the one from /usr/bin.

But i need those 2 paths, since i want to run ruby in windows too.

Anyway to have cygwin have its own path and not inherit those in windows?

thanks.

© Stack Overflow or respective owner

Related posts about cygwin

Related posts about path