0

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/local/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

Ram
  • 2,237
  • 4
  • 23
  • 27

1 Answers1

1

Maybe

yum install libssl-devel libopenssl-ruby openssl libssl
fl00r
  • 82,987
  • 33
  • 217
  • 237
  • probably just installing `libopenssl-ruby` is fine (if it needs any of the other libs it will pull them in too) – cam Apr 01 '11 at 08:00