19:31 ~/testcases/rails/rails-5-2/defaults:(scaffold-test)[ruby-2.5.1]$
rails credentials:edit
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.
19:31 ~/testcases/rails/rails-5-2/defaults:(scaffold-test)[ruby-2.5.1]$
What editor are you using?
--
Hassan Schroeder ------------------------
hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote