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

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.

我不认为我能按回车键

推荐答案

如果其他人遇到这个特殊的"状态:1"错误(我知道很多人收到了这个错误,但似乎是出于不同的原因)...我可以确认depa的 comments ,并将在 comments 中添加以下内容,以便为问题提供答案:

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

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

然后,当我再次运行RVM install命令时,它运行得很好.

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

Ruby相关问答推荐

删除带括号的子表达式

这是 ruby​​ Regexp 中的错误吗?如何在不使用超时的情况下防止正则表达式匹配中的无限循环?

Encoding::UndefinedConversionError

创建一个哈希值作为数组和默认值作为空数组

为什么 RuboCop 建议用 Array.new 替换 .times.map?

Rake 与 Thor 的自动化脚本?

array.include?多个值

如何在 Ruby 中使用gets和gets.chomp

Ruby 中的 $1 和 \1

Ruby 1.9:如何正确大写和小写多字节字符串?

Sublime Text 2 控制台输入

如何合并 Ruby 哈希

map、each 和 collect 有什么区别?

Ruby Style:如何判断嵌套的哈希元素是否存在

从数组 Ruby 中删除元素

通过 factory_girl 协会查找或创建记录

在 Jekyll 中使用 Live Reload

如何使用 minitest 运行所有测试?

如何编写启动 tmux 会话的 shell 脚本,然后运行 ​​ruby​​ 脚本

JavaScript Array:获取项目的范围