I tried to deploy my application on VPS but got an error:
ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit`
I added my secret_key_base
to the environment variable:
export SECRET_KEY_BASE=<my secret key>
but am getting the same error.
secrets.production.yml:
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>