这是我在命令提示符之前看到的最后一件事:
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.1.1.tar.bz2
Checking requirements for osx.
About to install Homebrew, press `Enter` for default installation in `/usr/local`,
type new path if you wish custom Homebrew installation (the path needs to be writable for user)
: Requirements installation failed with status: 1.
我不认为它达到了我可以按 Enter 的地步
最佳答案
如果其他人遇到这个特殊的“状态:1”错误(我知道很多人都收到了这个,但似乎出于不同的原因)......我可以确认 depa 的评论并将添加到它以创建一个答案问题:
我只需要使用来自 brew.sh 的命令自己安装 Homebrew :
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
然后,当我再次运行 RVM 安装命令时,它工作正常。
RVM 似乎出于某种原因在我的机器上安装 Homebrew 时出现问题。
关于ruby - 安装 RVM : "Requirements installation failed with status: 1.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22776751/