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

前端 未结 2 1687
南旧
南旧 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'
    
    0 讨论(0)
  • 2021-01-27 00:06

    I wrote a post about it.

    http://www.kensodev.com/2011/08/16/uninitialized-constant-sycksyck-nameerror/

    0 讨论(0)
提交回复
热议问题