0

最新の Xcode をインストールしましたが、この問題が発生し続けます。どうすればこの問題を解決できますか?

Fetching yaml-0.1.4.tar.gz to /Users/dmonkeys/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/dmonkeys/.rvm/src
Error running 'tar xmzf /Users/dmonkeys/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/dmonkeys/.rvm/src ', please read /Users/dmonkeys/.rvm/log/ruby-1.9.3-p194/yaml/extract.log
Configuring yaml in /Users/dmonkeys/.rvm/src/yaml-0.1.4.
Error running ' ./configure --prefix="/Users/dmonkeys/.rvm/usr"  ', please read /Users/dmonkeys/.rvm/log/ruby-1.9.3-p194/yaml/configure.log
Compiling yaml in /Users/dmonkeys/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/dmonkeys/.rvm/log/ruby-1.9.3-p194/yaml/make.log


Database file /Users/dmonkeys/.rvm/config/packages does not exist.

Installing Ruby from source to: /Users/dmonkeys/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)...

ruby-1.9.3-p194 - #fetching 
ruby-1.9.3-p194 - #extracted to /Users/dmonkeys/.rvm/src/ruby-1.9.3-p194 (already extracted)
ruby-1.9.3-p194 - #configuring 
Error running ' ./configure --prefix=/Users/dmonkeys/.rvm/rubies/ruby-1.9.3-p194 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/dmonkeys/.rvm/usr ', please read /Users/dmonkeys/.rvm/log/ruby-1.9.3-p194/configure.log
There has been an error while running configure. Halting the installation.
ls: /Users/dmonkeys/.rvm/rubies/*/bin/ruby: No such file or directory
4

1 に答える 1

1

開発ツールが欠落しているように見えます。出力を読んでください(そして指示に従ってください):

rvm requirements

最も重要なmakeのは、osx-gcc-installer で入手できることです。

新規インストールの場合、オプションはRailsInstaller for OSXでもあります

于 2012-06-14T07:29:25.697 に答える