Anonymous
TRIALOP
2 years ago
Yo I'm trying to use railway to host my rails app. I keep getting this error though:
ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `bin/rails credentials:edit` (ArgumentError)
So locally when I use bin/rails credentials:edit, the file looks something like this:
# aws:
# access_key_id: 123
# secret_access_key: 345
# Used as the base secret for all MessageVerifiers in Rails, including the one protecting cookies.
secret_key_base: some stuff that I've redactedSo what's going wrong?