2012-05-24 39 views
0

我已经安装了最新的Xcode,但这种情况一直在发生。我怎么能解决这个问题?从rvm更新红宝石1.9.3时的configure.log问题

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 
+0

什么/Users/dmonkeys/.rvm/log/ruby-1.9.3-p194/yaml/make.log说? – mpapis

+0

它说[2012-06-13 21:28:10] make -j2 /Users/dmonkeys/.rvm/scripts/functions/utility:第147行:make:command not found – dsmonkey

回答

1

看起来缺少开发工具,阅读的输出(并按照指示):

rvm requirements 

最重要的是你需要make你可以用OSX-GCC-安装程序得到它。

对于全新安装的选项也将是RailsInstaller for OSX