2012-06-14 42 views
1
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 -j2', 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. 
ruby-1.9.3-p194 is not installed. 
Creating alias default for ruby-1.9.3-p194. 
Recording alias default for ruby-1.9.3-p194. 
Creating default links/files 
ruby-1.9.3-p194 is not installed. 
Could not load ruby ruby-1.9.3-p194. 
/Users/dmonkeys/.rvm/scripts/alias: line 133: /Users/dmonkeys/.rvm/rubies/ruby-1.9.3-p194/bin/ruby: No such file or directory 
+2

如果您在問題中更具體地瞭解您的平臺,而不是將其作爲要從標籤中識別出來的東西,那該多好。 – tadman

回答

2

確保安裝了Xcode「Command Line Tools」軟件包。僅Xcode就不夠了。

您可以通過單獨下載或通過在管理器中啓用該軟件包來實現。

這是安裝失敗最常見的情況。您沒有發佈您粘貼的輸出中提到的日誌內容。