0

Currently trying to deploy rails 7 app, using Passenger 6, Rbenv and Rails 7.

Passenger is requesting

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

And is already defined on config/credentials.yml.enc, config/credentials/production.yml.enc, on rbenv vars, on .bashrc, already tried removing them and testing one by one still nothing.

On the Passenger subprocess menu I can see is being read and is being called by the correct user (deploy)

Hope someone can help me with this, thank you very much in advance, have several days trying to fix this to no avail :(

Haguilar91
  • 111
  • 3

0 Answers0