【问题标题】:OpenSSL: JRuby only supports F_SETFL for fcntl/ioctl currentlyOpenSSL:JRuby 目前仅支持 fcntl/ioctl 的 F_SETFL
【发布时间】:2009-08-06 04:19:51
【问题描述】:

当我尝试在安装了 jruby-openssl-0.5.1 gem 的 JRuby 1.3.0RC1 中使用 net/https 时,我收到以下错误:

Error in JobsRequiringReportDataProcessor: JRuby only supports F_SETFL for fcntl/ioctl currently
/opt/bin/jruby/lib/ruby/gems/1.8/gems/jruby-openssl-0.5.1/lib/openssl/ssl.rb:56:in `initialize'
/opt/bin/jruby/lib/ruby/1.8/net/http.rb:571:in `connect'
/opt/bin/jruby/lib/ruby/1.8/net/http.rb:557:in `do_start'
/opt/bin/jruby/lib/ruby/1.8/net/http.rb:546:in `start'

不确定是什么原因造成的,因此我们将不胜感激。

【问题讨论】:

    标签: ruby openssl jruby


    【解决方案1】:

    这应该通过升级到 jruby-openssl 0.5.1 来解决。

    【讨论】:

      【解决方案2】:

      或者升级到 JRuby 1.3.1 ???

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-01-06
        • 2015-04-05
        • 1970-01-01
        • 1970-01-01
        • 2021-09-09
        • 2013-10-28
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多