LoginSignup
12

More than 5 years have passed since last update.

10.9でhomebrewのインストール時にエラーがでる

Posted at

marvericsにhomebrew入れようとしたらエラー出た

$ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
-e:4: syntax error, unexpected '<'
<!DOCTYPE html>
 ^
-e:5: syntax error, unexpected '<'
<html>
 ^
-e:7: syntax error, unexpected '<'
    <meta charset='utf-8'>
     ^
-e:8: syntax error, unexpected '<'
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
     ^
-e:8: syntax error, unexpected tIDENTIFIER, expecting end-of-input
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
                                              ^

Homebrew公式ページを確認したら微妙に引数のURLが変更になっているっぽい

$ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"

Xcodeのcommand line toolsのインストール方法が変わってるから新規に10.9を始める人はhomebrewインストール前に下記のコマンドで前準備をしておきましょう

xcode-select --install

以上でhomebrewを利用する準備ができました\(>ヮ<)/おしまい♪

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12