Homebrew:Could not symlink share/emacs /usr/local/share is not writable.

使用Homebrew安装Ruby的时候报错:

Homebrew: Could not symlink share/emacs /usr/local/share is not writable.

解决方法:
这似乎是一个非特定的问题正在安装的软件包,并非homebrew的
文件夹权限问题:

sudo chown -R `whoami`:admin /usr/local/bin

对于某些包,您也可能需要对这个文件夹下 /usr/local/share 这样操作:

sudo chown -R `whoami`:admin /usr/local/share

你可能感兴趣的:(Homebrew:Could not symlink share/emacs /usr/local/share is not writable.)