The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.ruby
From: "David Vallner" <da...@vallner.net>
Date: Tue, 17 Jan 2006 04:32:09 +0900
Local: Mon, Jan 16 2006 2:32 pm
Subject: Re: ruby under cygwin & windows paths
On Mon, 16 Jan 2006 17:37:03 +0100, Mojca Miklavec
<mojca.miklavec.li...@gmail.com> wrote: The $() seems to try and execute the path... A slip of the mind? My first > On 1/13/06, Thomas <sanobast-20...@yahoo.de> 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 > Thanks again for all the proposals, but the part with "$(cygpath -u > No luck this time. > (The problem on the "bash" side, not on the "command-line" side I > Mojca guess would be using backticks instead of the '$()', but that has issues with the backslashes being processed in the path I give it when trying out, and I smell rocky waters ahead. And by rocky, I mean some sed-massaging of %1 (it doesn't get much rockier), and I'll honestly admit my sed knowledge is very bad. Did you check out that hint from that guy that posted on google groups David Vallner You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||