草庐IT

ruby-on-rails - 使用 Rails : syck has been removed, psych

我在我的rails项目的capistrano部署期间收到此消息:syckhasbeenremoved,psychisusedinstead版本:gem'rails','=3.2.13'ruby2.0.0p247据我所知,ruby使用原生yamler“Psych”。Gemfile中没有任何yamler。在我的boot.rb中:require'yaml'YAML::ENGINE.yamler='psych'可能是什么问题? 最佳答案 这可能意味着yamler被分配到某处的gem中。您可以在此处查看消息是如何生成的:https://git