嗨,我正在尝试设置我的 Mac 以运行 Ruby on Rails,但我坚持尝试安装 Homebrew 和 RVM。
当我输入终端时:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
它返回它返回通常的文本块,并在它显示的末尾:
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
当我尝试输入我的根密码时,没有任何反应,唯一返回某些内容的输入是按下回车键,该键返回消息“对不起,再试一次”。
当我尝试为 RVM 运行安装时,也会发生同样的事情:
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.0.0-p247.tar.bz2
Checking requirements for osx.
Installing macports.................................................................................................................
..............................................................
connorashton password required for 'make install': .......
它再次不会让我输入任何内容。还可能需要注意的是,它没有显示文本光标,而是只有一个灰色的小矩形。
非常感谢任何帮助!
<------- 编辑------->
感谢您的评论我终于让事情发生了变化,现在已经通过了密码提示。然而,RVM 现在又出现了另一个错误:
Downloaded archive checksum did not match, archive was removed!
If you wish to continue with not matching download add '--verify-downloads 2' after
the command.
Downloading https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.0.0-p247.tar.bz2 failed.
Mounting remote ruby failed, trying to compile.
connorashton password required for 'softwareupdate -l':
所以我重新输入了我的密码,它又开始运行了,但又回来了:
Retrieving rubygems-2.1.11
There is no checksum for 'http://production.cf.rubygems.org/rubygems/rubygems-
2.1.11.tgz'
or 'rubygems-2.1.11.tgz', it's not possible to validate it.
This could be because your RVM install's list of versions is out of date.
You may want to
update your list of rubies by running 'rvm get stable' and try again.
If that does not resolve the issue and you wish to continue with unverified download
add '--verify-downloads 1' after the command.
There has been an error while trying to fetch rubygems.
Halting the installation.
对不起,我只想让这个东西启动并运行!