安装libyaml


wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz 
  
tar xzvf yaml-0.1.4.tar.gz 
  
cd yaml-0.1.4 
  
./configure --prefix=/usr/local 
  
make 
  
make install 
  
 
“It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby”警告。


安装ruby


tar -zxf ruby-1.9.3-p448.tar.gz 
  
cd ruby-1.9.3-p448 
  

./configure --enable-shared --disable-install-doc 
  
make 
  
make install