I am trying to run a simple ruby script on windows using mingw32
I am having some path issues I think because the simple script below uses the windows mkdir instead of the mkdir that ships with mingw32. I know this because it creates two files "-p" and "hello" which is what the windows mkdir does. It is supposed to just create the hello direcory. -p is a switch. The mkdir command works fine on the ming32 prompt. How do I make ruby use the right mkdir?
mkdir.rb:
`mkdir -p hello`