I am having difficulty accessing the command: rails credentials:edit
using the Codeanywhere environment. I am running Rails 5.2.1 and Ruby 2.5.1.
I receive the following response from the terminal:
No $EDITOR to open file in. Assign one like this:
EDITOR="mate --wait" bin/rails credentials:edit
For editors that fork and exit immediately, it's important to pass a
wait flag, otherwise the credentials will be saved immediately
with no chance to edit.
I don't seem to be able to get this working.
Can someone please help?
Thank you.