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.

7 Responses to “Using net/pop in Ruby with ssl.”


  1. 1 James Brooks

    This solution fixed the exact problem I had, thanks for saving me some time :)

  2. 2 fguillen

    me too! thx :)

  3. 3 Jan Ulbrich

    Thanx, helped me too! :-)

  4. 4 Bartosz Pietrzak

    omg, thank you! it was easy to find through google so it was more time-saving than you could expect :)

  5. 5 Dawson

    Thanks, this helped me!

  6. 6 andrew

    You’re welcome Dawson, how’s the creek?

  1. 1 Fernando Guillen, un Desarrollador Web Freelance » Blog Archive » Ruby: cliente Pop SSL รณ como leer tu cuenta Gmail desde Ruby.

Leave a Reply