Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
OpenSSL:JRuby目前仅支持fcntl/ioctl的F_SETFL_Ruby_Openssl_Jruby - Fatal编程技术网

OpenSSL:JRuby目前仅支持fcntl/ioctl的F_SETFL

OpenSSL:JRuby目前仅支持fcntl/ioctl的F_SETFL,ruby,openssl,jruby,Ruby,Openssl,Jruby,当我尝试在安装了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 `

当我尝试在安装了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'

不确定是什么原因导致了这种情况,因此我们非常感谢您的帮助。

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

或者升级到jruby 1.3.1