ERROR: undefined method `prepend' for #<Class:Chef>

Anyone seen this before? I have NO idea. :frowning:

Starting Chef Client, version 11.12.4
Compiling Cookbooks…

================================================================================
Recipe Compile Error in
/tmp/kitchen/cookbooks/compat_resource/libraries/autoload.rb

================================================================================

   NoMethodError

Anyone know why the mailing list is stripping out text from my posts?

Try wrapping it in three backticks (````)

Isn’t compat_resource only for Chef 12.x? You’re on 11.12.4 which isn’t compatible according to the readme.

So, here’s the error in back ticks. It seems to work fine when run from
another source machine and chef 11.12 on the ec2 instance.

       Starting Chef Client, version 11.12.4
       Compiling Cookbooks...


 ================================================================================
       Recipe Compile Error in
/tmp/kitchen/cookbooks/compat_resource/libraries/autoload.rb

 ================================================================================

       NoMethodError

The compat_resource (and cookbooks that depend on it) are only compatible
with Chef 12.x
-s