Newly using VS Code (from Atom).
When attempting to edit my credentials file with the following command:
EDITOR="code --wait" bin/rails credentials:edit
The --wait operation does not wait. After a few seconds my terminal responds:
File encrypted and saved.
Any ideas on how to fix this?
This seemed to work for me. Ended up searching for opening Code in terminal. Found this, and this solved my problem.
Launch VS Code.
Open the Command Palette (⇧⌘P) and type 'shell command' to find the Shell Command: Install
'code' command in PATH command.
https://code.visualstudio.com/docs/setup/mac
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