0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ActiveSupport::MessageEncryptor::InvalidMessageを解決

Last updated at Posted at 2021-04-05

herokuでpushした時に、以下のエラーが出たのは、

ActiveSupport::MessageEncryptor::InvalidMessage

credentials.yml.encをしっかりと、
編集できていないためでした。

ターミナルで、
VScodeで編集するには、

EDITOR='code --wait' rails credentials:edit

Vimエディタで編集するには、

`DITOR=vi rails credentials:edit

Vimエディタのなんて使ったことがない人は、
VScodeで編集したほうが簡単です。

参考記事↓
https://hirocorpblog.com/rails-credentials-master/#toc5

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?