I simply can\'t get past the message:
Missing `secret_key_base` for \'production\' environment, set this string with `rails credentials:edit` (ArgumentError)
I ran into this problem when deploying my rails app to dokku using a Dockerfile. My solution:
the file config/secrets.yml references an environment variable:
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
I need to set this variable using the dokku command line (either directly on the server, or using the dokku-cli gem on my development machine):
dokku config:set SECRET_KEY_BASE=blalbalblablahblablah