mardi 10 novembre 2020

Missing `secret_key_base` for 'test' environment, set this value in `config/secrets.yml`

Below is my current code within my secrets.yml file in rails, not exactly sure why it's giving me an error of Missing secret_key_base for 'test' environment, set this value in config/secrets.yml:

development:
  secret_key_base: c05fe83eb4cd2f4f87dcb280f89c4336a1c93deca0d01ec0e535c63fdf762b74e6d31235323665d766211de551b1e7ed2c8ec8073fdbcdac8b9f1bb645ebf943

test:
  secret_key_base: 3dd314c3109ff7c4047b551070fd030c7c4ef19175c7f51c871539406385c72387d6710b088e3112f601f0a1e9ef59635a6d8d584a2df41b2941ff05d76a53bf


production:
  secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>

Aucun commentaire:

Enregistrer un commentaire