mxcl/homebrew — Issue #10654: brew update causes line-ending issues
Author: dannykopping
Created: 2012-03-02 22:58:22+00:00
State: open

Running `brew update` causes problems on Mac; the main brew file has Windows line-endings, changing them to Unix line-endings resolves the following issue:

"/usr/bin/ruby^M: bad interpreter: No such file or directory"

and - if one changes the shebang to `/usr/bin/env ruby`

"env: ruby\r: No such file or directory"