Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on JRuby - wrong # args calling 'set_tls_parms' #12

Open
ksnyder opened this issue Sep 10, 2013 · 1 comment
Open

Issue on JRuby - wrong # args calling 'set_tls_parms' #12

ksnyder opened this issue Sep 10, 2013 · 1 comment

Comments

@ksnyder
Copy link
Collaborator

ksnyder commented Sep 10, 2013

First, is JRuby supported? If so, we could use help with this error when we call

connect on an object created as EM::IMAP.new 'imap.gmail.com', 993, true

ArgumentError: wrong number of arguments calling set_tls_parms (4 for 2)
start_tls at /Users/byofuel/.rvm/gems/jruby-1.7.4/gems/eventmachine-1.0.3-java/lib/em/connection.rb:415
start_tls at /Users/byofuel/.rvm/gems/jruby-1.7.4/gems/em-imap-0.4.1/lib/em-imap/deferrable_ssl.rb:16
connect at /Users/byofuel/.rvm/gems/jruby-1.7.4/gems/em-imap-0.4.1/lib/em-imap/connection.rb:25
tap at org/jruby/RubyKernel.java:1860
connect at /Users/byofuel/.rvm/gems/jruby-1.7.4/gems/em-imap-0.4.1/lib/em-imap/connection.rb:24
connect at /Users/byofuel/.rvm/gems/jruby-1.7.4/gems/em-imap-0.4.1/lib/em-imap/client.rb:15
connect_and_authenticate at /Users/byofuel/code/handl-server/app/models/handl_email/connection.rb:323

@ConradIrwin
Copy link
Owner

Jruby should be supported in theory. It sounds like Jruby's TLS library is different to MRI's — it should be an easy fix if you can find the documentation/code for both versions of the method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants