Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2009 01:19:15 GMT
From:      Grzegorz Junka <xgjx@poczta.onet.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/132146: Problem with fork in Ruby 1.9.1
Message-ID:  <200902270119.n1R1JFdj055859@www.freebsd.org>
Resent-Message-ID: <200902270120.n1R1K1ao089600@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 27 01:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Junka
>Release:        7.1
>Organization:
>Environment:
FreeBSD cratan.lan 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 2009     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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.
>How-To-Repeat:
start interactive ruby: irb19
type: @pid = fork
result:
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.
>Fix:
Maybe the code from version 1.8.7 could be copied to version 1.9.1?

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902270119.n1R1JFdj055859>