DEV Community

n350071πŸ‡―πŸ‡΅
n350071πŸ‡―πŸ‡΅

Posted on

rails credentials -e in Docker

πŸ€” Situation

I met an error when I tried to edit the credentials file.

$ rails credentials -e

error message

(Sorry, I've forgotten to note the error message. if you had one, it's great help for me that you'd paste it at the comment πŸ¦„)

πŸ‘ How did I resolve?

Add this line on your Dockerfile.

## install vim
RUN apt-get update && apt-get install apt-file -y && apt-file update && apt-get install vim -y

πŸ”— Parent Note

Top comments (0)