I've installed successfully chef on my workstation but when i am trying to create a role using the following command
knife role create startmeup
I get
ERROR: RuntimeError: Please set EDITOR environment variable
Any idea what the problem is?
You have to define EDITOR
as environment variable.
Try
export EDITOR=$(which vi)
To persist this, add it to ~/.bashrc
or ~/.bash_profile
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With