[英]Homebrew install fails with Error: Failed to install Homebrew Portable Ruby
[英]Cannot install Ruby with homebrew
我正在尝试使用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>
有人知道为什么会这样吗?
您可以在ruby上跟踪该问题:修复未定义的方法和目录不是空错误#29986或单击讨论链接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.