如果我尝试重置密码,我会看到:我们很抱歉,但出了点问题。
然后我看到我的日志:
poruction.log
Sent mail to achempion@gmail.com (238ms)
Completed 500 Internal Server Error in 610ms
OpenSSL::SSL::SSLError (hostname does not match the server certificate):
在我的produ.rb中,我设置了config.action_mailer.default_url_options = { :host => '178.79.153.194' }
和openssl版本为OpenSSL 1.0.0g 18 Jan 2012
我通过设计宝石重置密码