Rails missing secret key base
heidar
TRIALOP

2 years ago

Hi,

I've tried deploying my fresh Rails 7.1.3 app on to your platform. No matter what I do, I alway get "missing secret key base". I've tried adding RAILS_MASTER_KEY to the env vars and setting up credentials for production within my code. I've also tried adding SECRET_KEY_BASE to the env vars, nothing works. Any ideas how to fix this? I can't find any information about this.

Thanks!

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

1 Replies

heidar
TRIALOP

2 years ago

I found the problem. I did not realise I had to click "Deploy changes" after editing the env vars. Once I did that, everything worked.


Status changed to Solved brody almost 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...