Edit Rails Credentials in IDE

Can't figure out how to edit the Rails credentials file in RubyMine. Tried EDITOR="RubyMine --wait" rails credentials:edit to no avail. Just closes file before it opens in the IDE. Is there a way for me to edit the credentials inside RubyMine or do I need to use a separate text editor?

1
3 comments

Hello,

could you please specify whether you mean credentials.yml.enc? Have you tried opening it as a project's file?

0

Just opening the credentials.yml.enc file just shows the encrypted data, it's not unencrypted so it's not able to be worked with. Evidently, rails needs the credentials:edit so we can change it. If there is a way to open and modify the encrypted data that would be helpful but I just can't find it.

0

Please sign in to leave a comment.