Rails EOFError (end of file reached) when saving a devise user

后端 未结 5 905
小鲜肉
小鲜肉 2021-01-03 22:46

I\'m getting this error in production when trying to create a user (i\'m using the devise gem).

EOFError (end of file reached):

I hit this

5条回答
  •  走了就别回头了
    2021-01-03 23:14

    Also! I made this additional mistake and had the same issue: I used my own domain instead of the mail server domain for the "domain" variable.

    Your environment variable should be:

    GMAIL_DOMAIN=gmail.com

    Or for the example above:

    :domain => 'gmail.com',

提交回复
热议问题