安装RVM:"需求安装失败,状态为:1."

Dre*_*vid 40 ruby rvm osx-mavericks

这是我在命令提示符之前看到的最后一件事:

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.
Run Code Online (Sandbox Code Playgroud)

我认为它没有达到我按Enter键的程度

Dre*_*vid 116

如果有其他人遇到这个特殊的"状态:1"错误(我知道有很多人收到了这个,但似乎有不同的原因)......我可以确认depa的评论,并会添加它来创建问题的答案:

我只需要使用brew.sh中的命令自己安装Homebrew :

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Run Code Online (Sandbox Code Playgroud)

然后,当我再次运行RVM安装命令时,它工作正常.

由于某种原因,似乎RVM在我的机器上安装Homebrew时遇到了问题.

  • 谢谢你.rvm主页在这件事上完全没有帮助.我试图在旧的Mac和IMO上更新ruby这个程序是我在很长一段时间里遇到的最糟糕的经历之一.什么是自制软件?我为什么需要它?我喜欢Ruby作为一种语言,但这种愚蠢的说法不仅仅是一个笑话.</咆哮> (7认同)
  • 获取curl:(22)请求的URL返回错误:404 (2认同)