OSXでchefインストール
MacOSXにchefを入れようとしてちょっとハマったのでメモ。
Xcodeのバージョンは5.1。
エラーメッセージ
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
環境変数を指定して実行でインストール出来た。
sudo ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" gem install chef --no-rdoc --no-ri
その後berkshelfのインストールでも同じ目に。
これは依存しているhitimesのインストールで発生していた模様。