【发布时间】:2014-06-08 19:33:08
【问题描述】:
我正在尝试使用 Homebrew 安装 Ruby。当我运行brew install ruby 时,我得到了
Warning: The post-install step did not complete successfully
You can try again using 'brew postinstall ruby'
当我尝试时它说
Error: Directory not empty - /usr/local/Cellar/ruby/2.1.2_1/lib/ruby/gems
所以我尝试删除该文件夹的内容,现在它说
Error: undefined method `symlink' for #<Pathname:/usr/local/Cellar/ruby/2.1.2_1/lib/ruby/gems>
有人知道为什么会这样吗?
【问题讨论】: