Closed thieman closed 10 years ago
:+1: Can't tell if that's fundamentally wrong, but thanks for posting. It helped me resolve this quickly :)
I had the same problem. This seems to be a bug. Thanks for pointing out a solution. In my case I had to add: require 'json' (lowercase)
:+1:
Same problem and solution here, with chef (= 11.14.6)
.
More details on the changes causing this are in #28 by @kbruner .
Seems like this has been fixed by https://github.com/mdxp/knife-backup/pull/28.
I was getting the following error when trying to restore using 0.0.9:
I am a total Ruby novice, but I was able to fix this for myself by adding
require 'JSON'
to the top of backup_restore.rb. Didn't want to send a PR because I figured there was probably something fundamentally wrong with that approach.