だいたいここの手順でいけるが、ちょっとだけ手詰まりがあったのでメモ。
環境 : Mavericks
-
ruby-build
のHEAD
が入ってた
==> RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/Cellar/openssl/1.0.1f --with-readline-dir=/usr/local/Cellar/readline/6.2.4" /usr/local/Cellar/ruby-build/20140225/bin/ruby-
sh: /usr/local/Cellar/ruby-build/20140225/bin/ruby-build: No such file or directory
symlink張って解決。
% ln -s /usr/local/Cellar/ruby-build/HEAD /usr/local/Cellar/ruby-build/20140524
-
brew link
が失敗する
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using:
brew link td-agent
libyaml
がconflictしていた。brew
の親切アドバイスどおりで解決。
% brew link td-agent
Linking /usr/local/Cellar/td-agent/1.1.17...
Error: Could not symlink include/yaml.h
Target /usr/local/include/yaml.h
is a symlink belonging to libyaml. You can unlink it:
brew unlink libyaml
To force the link and overwrite all conflicting files:
brew link --overwrite td-agent
To list all files that would be deleted:
brew link --overwrite --dry-run td-agent
% brew unlink libyaml
Unlinking /usr/local/Cellar/libyaml/0.1.6... 5 symlinks removed
% brew link --overwrite td-agent
Linking /usr/local/Cellar/td-agent/1.1.17... 38 symlinks created