From: Eric Christopherson Date: 2011-03-03T09:34:47+09:00 Subject: Re: some unrecognized syntax error I've noticed recently that I can run Ruby files with DOS or Unix line endings with no problem on either platform, but as soon as I put a shebang line in the file, and it has DOS line endings, I can't run it directly from the command line on OS X (e.g. `./test.rb`). I have to run it specifically with 'ruby' instead (e.g. `ruby ./test.rb`). Is that just a built-in problem with OS X or bash's reading of shebang lines?