安装cocoapods时遇到的问题:
please install libyaml and reinstall your ruby.
明明安装了libyaml,还一直提示没有安装
"It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby."
/home/ec2-user/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
解决方法:
如果使用homebrew,一个简单的方法是
If using homebrew, a temporary fix that worked for me was to run:
brew unlink libyaml && brew link libyaml
其他解决方法参考http://stackoverflow.com/questions/15738883/please-install-libyaml-and-reinstall-your-ruby
祝你好运
文章详细介绍了在安装CocoaPods过程中遇到Ruby配置问题的解决方案,包括使用Homebrew进行临时修复的方法及从Stack Overflow获取更多解决思路。重点突出了解决步骤和相关警告信息。
1万+

被折叠的 条评论
为什么被折叠?



