DEV Community

Discussion on: Elastic Beanstalk Apps using Docker Containers

Collapse
 
maxtocarev profile image
Maxim Tocarev

Hi, I keep getting: ArgumentError: Missing secret_key_base

I have create a StackOverflow question. Would you be able to help figure this out?
stackoverflow.com/questions/603279...

Collapse
 
fdocr profile image
Fernando

Hi Maxim, looks like you need RAILS_MASTER_KEY to access secret_key_base because that value is stored using Rails encrypted credentials.

I left an answer in your SO question, which basically says you should pass RAILS_MASTER_KEY into your Elastic Beanstalk environment so it can finish building your Docker image. Hope it helps.