尝试在 osx lion 上安装 RVM 时出现无法解析主机错误
我已经安装了所有先决条件。
我在 osx lion 10.7.2 xcode:
$ xcodebuild -version
Xcode 4.2.1
git:
$ git --version
git version 1.7.5.4
当我运行时, 上 $ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm )
i出现以下错误:
curl: (6) 无法解析主机:HD;提供的节点名或服务名, 或未知 无法下载 'https://github.com/wayneeseguin/rvm/tarball/master'。
有什么想法为什么吗?如果我以 sudo 身份运行,它会通过,但随后我会收到更多错误...需要它以单用户身份安装。我的主目录的路径是:
'/volumes/Macintosh HD/users/mikedevita'
I have all the prereq's installed.. I am on osx lion 10.7.2
xcode:
$ xcodebuild -version
Xcode 4.2.1
git:
$ git --version
git version 1.7.5.4
when i run
$ bash < <( curl -s https://rvm.beginrescueend.com/install/rvm )
i get the following error:
curl: (6) Could not resolve host: HD; nodename nor servname provided,
or not known Could not download
'https://github.com/wayneeseguin/rvm/tarball/master'.
any ideas why? If i run as sudo it goes through but then i get more errors... Need this to install as single user. path to my home dir is:
'/volumes/Macintosh HD/users/mikedevita'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来brew 所指的文件已移动,因此您正在寻找死链接。
我通过在终端中运行“brew update”解决了这个问题。
让其运行后,并在brew更新到最新版本后,它应该具有最新的目录和文件,因此应该避免死链接。您现在应该可以继续正常工作了。
It seems like the file brew is referring to has moved, hence you are looking for a dead link.
I got past this issue by running 'brew update' in the terminal.
After letting this run, and after brew updates to the latest version it should have the latest directories and files, and as a result should avoid dead links. You should be free to continue as normal now.