DelayedJob: “Job failed to load: uninitialized constant Syck::Syck”

前端 未结 2 1686
南旧
南旧 2021-01-26 23:36

I am using Ruby on Rails 3.1 and the DelayedJob gem. I have a Contact Us form through which people can contact me. When I submit that I get the following error

`         


        
2条回答
  •  借酒劲吻你
    2021-01-27 00:00

    Syck is a Yaml parser, so maybe you have an error in one of your Yaml files? Locale files or your database.yml are good bets.

    Failing that, make sure that the yaml parser is using the correct yamler by adding the following to boot.rb:

    require 'yaml'
    YAML::ENGINE.yamler= 'syck'
    

提交回复
热议问题