Project

General

Profile

This project is closed and read-only.

Actions

Backport #10938

closed

socket.for_fd works on 1.8 and not on 1.9

Backport #10938: socket.for_fd works on 1.8 and not on 1.9

Added by ghomem (Gustavo Homem) over 11 years ago. Updated over 11 years ago.

Status:
Third Party's Issue
Assignee:
-
[ruby-core:68422]

Description

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.

Actions

Also available in: PDF Atom