使用devise,unicorn重置生产密码

时间:2012-11-17 15:40:39

标签: ruby-on-rails devise openssl production-environment unicorn

如果我尝试重置密码,我会看到:我们很抱歉,但出了点问题。 然后我看到我的日志:
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

我通过设计宝石重置密码

1 个答案:

答案 0 :(得分:0)

这是我的错。我忘了配置ActionMailer。 link tutorial