0
点赞
收藏
分享

微信扫一扫

CentOS 6下安装ruby 1.9

左手梦圆 2023-07-13 阅读 63


安装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



举报

相关推荐

0 条评论