Rails EOFError (end of file reached) when saving a devise user
问题 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 problem before and it was due to my smtp settings using zoho mail. I believe my configuration below is what fixed the problem: ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "smtp.zoho.com", :port => 465, :domain => 'example.com', :user_name => 'user@example.com', :password => 'password', :authentication => :login