安装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/questions/15738883/please-install-libyaml-and-reinstall-your-ruby
祝你好运
更多推荐
mac 下装cocoapods时遇到的问题:please install libyaml and reinstall your ruby
发布评论