loading...

rails credentials -e in Docker

twitter logo github logo ・1 min read

🤔 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

twitter logo DISCUSS
Classic DEV Post from Jun 6 '19

What programming best practice do you disagree with?

Discussion about an unusual interview question

n350071 profile image
Ruby Web Developer. Freelancer.