我试图在运行Mavericks的Macbook Pro上使用RVM安装Ruby。我有点头脑,但每当我输入rvm install 2.1
时,它都会失败并给我以下错误:
Error running 'requirements_osx_brew_update_system ruby-2.1.1',
showing last 15 lines of /Users/ianvshuff/.rvm/log/1396019921_ruby-2.1.1/update_system.log
https://github.com/mxcl/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.'
++ rvm_pretty_print stderr
++ case "${rvm_pretty_print_flag:=auto}" in
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 2 ]]
++ return 1
++ printf %b 'Failed to update Homebrew, follow instructions here:
https://github.com/mxcl/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.\n'
Failed to update Homebrew, follow instructions here:
https://github.com/mxcl/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.
++ return 1
Requirements installation failed with status: 1.
安装Xcode和一切。任何人都知道发生了什么?
答案 0 :(得分:2)
看起来RVM正在尝试使用未正确安装或配置的Homebrew来安装某些要求。您可以安装Homebrew,或键入rvm requirements
并尝试手动解决它们。