Closed ccrockett closed 10 months ago
Thanks for reporting!
Added rails local_credentials:edit
command to overcome this limitation (the env check is hard-coded deeply within the Rails codebase, there is no good way to patch it and keep rails credentials:edit -e local
working)
Released in 2.6.0
What did you do?
I'm trying to generate local credential files for my anyway config using:
EDITOR='code --wait' rails credentials:edit -e local
What did you expect to happen?
I expected it to create
config/credentials/local.yml.enc
and the respectivelocal.key
fileWhat actually happened?
Received an error:
Additional context
It looks like it's related to rails 7.1.2, this commit in particular
Environment
Ruby Version: ruby 3.2.2
Framework Version (Rails, whatever): Rails 7.2.0.alpha
Anyway Config Version: anyway_config 2.5.4