Using net/pop in Ruby with ssl.
If you follow this blog post by Chris Roos for connecting to Gmail’s pop server with Ruby and encounter an error similar to this one: NoMethodError: undefined method `set_params’ for #<OpenSSL::SSL::SSLContext:0×50fc58>
Here’s the fix: You need an older version of Ruby 1.9’s net/pop library. I found that the latest one working was revision 13778. view it here.
Hope this saves some time for a few people.