#1103255 /usr/bin/rails: No $EDITOR to open file in. Assign one like this: EDITOR="mate --wait" bin/rails credentials:edit

#1103255#5
Date:
2025-04-15 17:33:09 UTC
From:
To:
Dear Maintainer,

I just got
  $ 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.

Quoth Policy 11.4:

Best,

#1103255#10
Date:
2025-04-15 18:20:02 UTC
From:
To:
Control: severity -1 normal

Thanks for your bug report. This is an interesting issue.

However, not following a "should" directive in policy is not really a
serious bug.

#1103255#17
Date:
2025-04-15 18:23:38 UTC
From:
To:
Whoops, misread the "must" for using-$EDITOR-in-general as also applying
to defaulting-to-/bin/editor. my b.