I've the latest chef 10.16.2
When I issue the following cmd:
knife data bag create db creds --secret-file ~/.chef/encrypted_data_bag_secret
opens the vim and I write some configs and when I try to :wq (write n exit) it says
ERROR: RuntimeError: Please set EDITOR environment variable
I've even set the EDITOR var inline as well
EDITOR=/usr/bin/vim knife data bag create db creds --secret-file ~/.chef/encrypted_data_bag_secret
Still the same error.
But why I'm getting this error?
-------------------------------------------