[Credentials] Should be able to run credentials related command without going through application booting process

Id,

In my computer, it seems every time I run rails credentials:edit

``

The whole booting process is run. This creates many strange circumstances.

For example, if a particular key is required when initialized, the process will failed. Because I haven’t added it yet.

I think there is no purpose in booting the app just to edit credentials?

Or is there any workaround this that I’m not aware of?

Quang

I think this was corrected in:

https://github.com/rails/rails/pull/34789

Looks to have even been backported to 5.2.

Eric

That’s exactly what I was gonna say, thanks!

Thank. Time to update my rails app.