I and a friend ran into this bug when our $EDITOR was set to vim -v and mate -w respectively. It will try to shell out "vim -v" ~/.app/config.yml which raises the error vim -v: command not found.
"vim -v" ~/.app/config.yml
vim -v: command not found
What's the use case where $EDITOR would need to be quoted?
don't quote $EDITOR