我正在尝试使用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>
有谁知道为什么会这样?
答案 0 :(得分:1)
您可以在ruby: Fix undefined method and directory not empty errors #29986跟踪问题,也可以按照link
进行讨论