Use old secret_key_base in rails 5.2

92 Views Asked by At

I'm doing bump in the rails version from 5.1 to 5.2. My project uses the env variables and the secret_key_base in the old way, and my client wants to maintain that behaviour. Unfortunately, when i deploy to production this upgrade, i keep getting

ArgumentError: Missing 'secret_key_base' for 'production' environment, set this string with 'rails credentials:edit'

Is there a way to "disable" this new credentials and keep using secrets the old way? I don't want to create neither the credentials or the master.key, is that possible or i'm force to do it weather i like it or not?

0

There are 0 best solutions below