-e:5:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)

123 views Asked by At

My objective is to insert one line in a file inside a docker container, sometimes it's working smoothly sometime the docker takes restarts frequently and from the docker logs I am getting this error

-e:5:in <main>': undefined method []' for nil:NilClass (NoMethodError)

here is the copy of config/database.yml

development:
  adapter: postgresql
  database: redmine_test
  host: localhost
  username: postgres
  password: "postgres"
  pool: 20 - Added this line
0

There are 0 answers