Trying to host basic rails app
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 redacted

So what's going wrong?

1 Replies

Anonymous
TRIALOP

2 years ago

d9305229-c4f5-4bf8-99a0-14df9e215a40


Loading...