ports/132146: Problem with fork in Ruby 1.9.1

Grzegorz Junka xgjx at poczta.onet.pl
Fri Feb 27 01:20:02 UTC 2009

>Number:         132146
>Category:       ports
>Synopsis:       Problem with fork in Ruby 1.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 27 01:20:01 UTC 2009
>Originator:     Grzegorz Junka
>Release:        7.1
FreeBSD cratan.lan 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 2009     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
Fork not correctly implemented in Ruby port version 1.9.1. The problem causes the Passenger apache plugin to not work correctly. The problem doesn't exist in the version 1.8.7 of the port.
start interactive ruby: irb19
type: @pid = fork
irb(main):001:0> @pid = fork
NotImplementedError: fork() function is unimplemented on this machine
        from (irb):1:in `fork'
        from (irb):1
        from /usr/local/bin/irb19:12:in `<main>'
irb(main):002:0> exit

the same typed in irb18 does work properly.
Maybe the code from version 1.8.7 could be copied to version 1.9.1?


More information about the freebsd-ports-bugs mailing list