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
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',