Delayed Job giving a undefined method error

帅比萌擦擦* 提交于 2019-12-04 06:24:14

I have managed to fix this.

I created a setup_load_paths.rb a few weeks ago when bundler stopped working for some reason. This meant that the gemfile was being loaded everywhere, except by passenger. This messed up the call to YAML::ENGINE.yamler = "syck" which seems to be what mucked up the saving of the object.

I removed the setup_load_paths and everything is working nicely now.

If using the Syck parser doesn't seem to work (like mentioned in Marc's answer), try using the psych parser instead.

YAML::ENGINE.yamler = "psych"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!