getting a could not resolve host error when trying to install RVM on osx lion

半腔热情 提交于 2019-12-12 03:04:04

问题


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'

回答1:


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.



来源:https://stackoverflow.com/questions/8842306/getting-a-could-not-resolve-host-error-when-trying-to-install-rvm-on-osx-lion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!