From: Mojca Miklavec Date: 2006-01-17T01:37:03+09:00 Subject: Re: ruby under cygwin & windows paths On 1/13/06, Thomas wrote: > > Thanks. I didn't think about creating another ruby.bat file. There's a > > "cygpath" utility in cygwin, but I didn't figure out yet how to use it > > to call another program an to tell him which paths to use. > > I think you can run ruby using something like > > bash -c "ruby '$(cygpath -u %1)' %2 %3 %4 %5 %6 %7 %8 %9" > > Maybe you could put this into some kind of ruby.bat. I don't know if > cmd.exe provided this kind of substitution which would make things easier. Thanks again for all the proposals, but the part with "$(cygpath -u %1)" doesn't work: ruby: No such file or derectory -- $(cygpath -u ) (Load Error) No luck this time. (The problem on the "bash" side, not on the "command-line" side I suppose.) Mojca