Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从rvm更新ruby 1.9.3时出现configure.log问题_Ruby_Rvm - Fatal编程技术网

从rvm更新ruby 1.9.3时出现configure.log问题

从rvm更新ruby 1.9.3时出现configure.log问题,ruby,rvm,Ruby,Rvm,我已经安装了最新的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

我已经安装了最新的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

它看起来缺少开发工具,请阅读(并按照说明)的输出:

最重要的是,您需要
make
您可以通过osx gcc安装程序获得它


对于新安装,一个选项也是

what does/Users/dmonkeys/.rvm/log/ruby-1.9.3-p194/yaml/make.log say?它说[2012-06-13 21:28:10]make-j2/Users/dmonkeys/.rvm/scripts/functions/utility:第147行:make:command not found
rvm requirements