简体   繁体   English

无法安装Homebrew

[英]Trouble installing Homebrew

I have just started learning Ruby on Rails and am having a little trouble getting the environment set up on a Macbook Air OS X version 10.9.3 我刚刚开始学习Ruby on Rails,并且在Macbook Air OS X 10.9.3版上设置环境时遇到了一些麻烦。

I installed Ruby from rvm.io 我从rvm.io安装了Ruby

I have: Ruby 2.0.0p451 Rails 4.1.4 Git 1.7.4.4 XCode version 2003 (is this wrong?) 我有:Ruby 2.0.0p451 Rails 4.1.4 Git 1.7.4.4 XCode 2003版(这是错误的吗?)

I used ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" 我用ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

but I get back Failed during: /usr/bin/sudo /usr/bin/xcode-select --install 但是我Failed during: /usr/bin/sudo /usr/bin/xcode-select --install返回Failed during: /usr/bin/sudo /usr/bin/xcode-select --install

I looked around and I have seen that people suggest Homebrew not be installed using sudo access, but it keeps asking for my password. 我环顾四周,发现有人建议不要使用sudo访问安装Homebrew,但它会不断询问我的密码。 What am I doing wrong here? 我在这里做错了什么? Why does Homebrew refuse to install? 为什么Homebrew拒绝安装?

What is the exact version of XCode? XCode的确切版本是什么? 5.1.1? 5.1.1? The failed command is to install XCode command line tool. 失败的命令是安装XCode命令行工具。 Probably you can install that first before installing Ruby. 可能您可以先安装它,然后再安装Ruby。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM