Rails 4: EOFError: end of file reached following any email in DEVELOPMENT only
For those like Aleksey wondering how the problem was solved, he added a valid domain. Went from domain: '@gmail.com'
to domain: "myprojectdomain.com"
For me, setting sender email in my Devise config file fixed the issue.
For those who are stuck....this worked but I unclear why.
config.action_mailer.raise_delivery_errors = true config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: "smtp.gmail.com", port: 587, domain: "myprojectdomain.com", user_name: "xxxx@gmail.com", password: "xxxx", authentication: 'plain', enable_starttls_auto: true } config.action_mailer.default_url_options = { :host => 'localhost:3000' }