[chef] Re: Re: ERROR: RuntimeError: Please set EDITOR environment variable


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Re: Re: ERROR: RuntimeError: Please set EDITOR environment variable
  • Date: Sun, 4 Nov 2012 04:45:40 -0800 (PST)


Hi

I have just had the same problem.  I am running the latest version of Chef.  I
am using encrypted data bags so I needed to edit a data bag using knife with a
supplied secret file.  My workstation is OS X.

I had to supply the full location to vim for it to work.

export EDITOR="/usr/bin/vim"
knife data bag edit ... --secret-file ...

Hope it helps

-------------------------------------------
Hamza Khan-Cheema
http://hamza.khan-cheema.com
@hamzakc


  • [chef] Re: Re: ERROR: RuntimeError: Please set EDITOR environment variable, hamza, 11/04/2012

Archive powered by MHonArc 2.6.16.

§