开发者

Using Ruby Pony to send emails on RHEL 5.3 I get error NameError - uninitialized constant Net::SMTP::OpenSSL:

I have a Ruby sinatra application am using Pony to send emails. It works fine from my windows box. But after deploying to RHEL 5.3 server I get following errors.

NameError - uninitialized constant Net::SMTP::OpenSSL:
  /usr/local/lib/ruby/1.9.1/net/smtp.rb:197:in `default_ssl_context'
  /usr/l开发者_运维百科ocal/lib/ruby/1.9.1/net/smtp.rb:351:in `enable_starttls_auto'

I am using ruby 1.9.2.

Please help to get fix this error. Please let me know if any additional details that I should add


Maybe

yum install libssl-devel libopenssl-ruby openssl libssl
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜