Re: warning: fork terminates thread at ./application.rb:84


#1

Enterprise Linux 4. It’s Ruby 1.8.1 with a bunch of patches.

I’m getting a bunch these warnings:
warning: fork terminates thread at ./application.rb:84

I searched the archives and Matz said that the warnings would
go away in 1.8.2.

Is there anything I can do to supress this warning under Ruby 1.8.1?

STDERR.reopen(’/dev/null’)

It’s kinda like turning up the stereo when your car starts making funny
noises. :stuck_out_tongue:

Dan

This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.


#2

On Tue, 23 May 2006, Berger, Daniel wrote:

Enterprise Linux 4. It’s Ruby 1.8.1 with a bunch of patches.

It’s kinda like turning up the stereo when your car starts making funny
noises. :stuck_out_tongue:

and the equally blunt:

$VERBOSE = nil

:wink:

-a


#3

On 5/22/06, removed_email_address@domain.invalid removed_email_address@domain.invalid wrote:

STDERR.reopen(’/dev/null’)

It’s kinda like turning up the stereo when your car starts making funny
noises. :stuck_out_tongue:

and the equally blunt:

$VERBOSE = nil

Ah, yes. That would work.

How do I find out what version of Ruby I’m using (from within Ruby)?


#4

On 5/22/06, Joe Van D. removed_email_address@domain.invalid wrote:

Hi,
Is there anything I can do to supress this warning under Ruby 1.8.1?
Ah, yes. That would work.

How do I find out what version of Ruby I’m using (from within Ruby)?

Found it. RUBY_VERSION.