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)