diff --git a/lib/delayed/yaml_ext.rb b/lib/delayed/yaml_ext.rb index b58914935..c516eaa2b 100644 --- a/lib/delayed/yaml_ext.rb +++ b/lib/delayed/yaml_ext.rb @@ -2,7 +2,7 @@ # Classes, Modules and Structs require 'yaml' -YAML::ENGINE.yamler = "syck" +YAML::ENGINE.yamler = "syck" if defined?(YAML::ENGINE) class Module yaml_as "tag:ruby.yaml.org,2002:module"