【问题标题】:Cannot install Ruby with homebrew无法使用自制软件安装 Ruby
【发布时间】: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>

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

【问题讨论】:

标签: ruby homebrew


【解决方案1】:

【讨论】:

    猜你喜欢
    • 2020-09-02
    • 2019-09-14
    • 1970-01-01
    • 2017-09-11
    • 2021-09-26
    • 1970-01-01
    • 2021-03-13
    相关资源
    最近更新 更多