Kitchen init --create-gemfile fails on .kitchen.yml


#1

Hi,
I’m doing the learning chef book and I’m stuck on chapter 7, Cookbook Authoring and Use.
On page 101 it says to generte an motd cookbook, cd motd, then to modify .kitchen.yml file and then to run kitchen list.
However, kitchen list fails that there are no instances available.
I assume there are none because kitchen init --create-gemfile hasn’t been run yet.
However, when I ran that command it error listing the there is an existing .kitchen.yml file and if I want to overwrite it.
Why would I get that error