【发布时间】:2012-09-22 23:51:15
【问题描述】:
刚拿到我的第一台 Mac,我正在尝试设置一个 ruby 开发环境。我已经更新了 XCode、Homebrew 和 RVM。我正在尝试让 RVM 安装 Ruby 1.9.2,但它失败了。
有什么想法吗?
Fetching yaml-0.1.4.tar.gz to /Users/mlanza/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/mlanza/.rvm/src
Error running 'tar xmzf /Users/mlanza/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/mlanza/.rvm/src ', please read /Users/mlanza/.rvm/log/ruby-1.9.2-p320/yaml/extract.log
Configuring yaml in /Users/mlanza/.rvm/src/yaml-0.1.4.
Error running ' ./configure --prefix="/Users/mlanza/.rvm/usr" ', please read /Users/mlanza/.rvm/log/ruby-1.9.2-p320/yaml/configure.log
Compiling yaml in /Users/mlanza/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/mlanza/.rvm/log/ruby-1.9.2-p320/yaml/make.log
Installing Ruby from source to: /Users/mlanza/.rvm/rubies/ruby-1.9.2-p320, this may take a while depending on your cpu(s)...
ruby-1.9.2-p320 - #downloading ruby-1.9.2-p320, this may take a while depending on your connection...
ruby-1.9.2-p320 - #extracted to /Users/mlanza/.rvm/src/ruby-1.9.2-p320 (already extracted)
ruby-1.9.2-p320 - #configuring
Error running ' ./configure --prefix=/Users/mlanza/.rvm/rubies/ruby-1.9.2-p320 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/mlanza/.rvm/usr ', please read /Users/mlanza/.rvm/log/ruby-1.9.2-p320/configure.log
There has been an error while running configure. Halting the installation.
我熟悉 Ubuntu,没有遇到任何问题。我原以为 Mac 会更容易一些。
【问题讨论】:
-
或许更适合超级用户?