[#68478] Looking for MRI projects for Ruby Google Summer of Code 2015 — Tony Arcieri <bascule@...>

Hi ruby-core,

10 messages 2015/03/10

[ruby-core:68423] [Backport193 - Backport #10938] socket.for_fd works on 1.8 and not on 1.9

From: gustavo@...
Date: 2015-03-05 03:39:22 UTC
List: ruby-core #68423
Issue #10938 has been updated by Gustavo Homem.


Reference:
http://ruby-doc.org//stdlib-1.9.3/libdoc/socket/rdoc/BasicSocket.html#method-c-for_fd

----------------------------------------
Backport #10938: socket.for_fd works on 1.8 and not on 1.9 
https://bugs.ruby-lang.org/issues/10938#change-51769

* Author: Gustavo Homem
* Status: Open
* Priority: High
* Assignee: 
----------------------------------------
Test code:

> #!/usr/bin/env ruby
>
>require 'socket'
>
>s=Socket.for_fd(STDIN.fileno)

Result on ruby 1.9

>`for_fd': not a socket file descriptor (ArgumentError)

Because of this the fcgi gem does not work. Therefore one can't install Redmine on a mod_fcgid server.




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next