繁体   English   中英

无法通过自制软件安装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>

有人知道为什么会这样吗?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM