To eliminate this warning, please install libyaml and reinstall your ruby.details: http://www.ruby-lang.org/bugreport.html
user1@company.com [~/rails_apps/myapp]#然后重新安装ruby
You appear to have an outdated version of libyaml (0.1.4) installed on your system.Prior to 0.1.6, libyaml is vulnerable to a heap overflow exploit from malicious YAML payloads.-- --enable-bundled-libyaml
看起来很简单。然而,即使在成功安装了“捆绑- libyaml”选项之后,我仍然看到这个关于过时libyaml<
yum install libyaml-develRepository base is listed more than once in the0:0.1.2-3.el5 set to be updated
--> Processing Dependency: libyaml-0.so.1 for package: libyaml-devel---> Package libyaml-devel.x86_64 0:0.1.4-1.el5.rf set
当我进入node并尝试请求libyaml时,我得到:Error: /home/ubuntu/shadow/node_modules/libyaml/build<anonymous> (/home/ubuntu/shadow/node_modules/libyaml/index.js:7:15)
at Module._load
libyaml警告不会消失,即使您安装了libyaml/home/ec2-user/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1To eliminate this warning, please install libyaml and reinstall your ruby.