From: Chris Bennetts Date: 2005-01-20T16:06:00+09:00 Subject: Re: Bad interpreter Florian Gross wrote: > I know what's happening. This can be handled by Ruby in most cases. (The > kernel just passes along the trailing \r to Ruby's ARGV.) That's why I > suggested adding the -w flag. (So that the Kernel would not try to run > the script with an executable called "ruby\r") That solves the "bad interpreter" problem nicely, but leaves ruby with a "-w\r" argument to deal with. As you suggested earlier, if a future version of Ruby handled stray carriage returns in its arguments, then the problem would be resolved. --Chris