Is there a way to call sigprocmask in ruby?  Here is an
example in perl:

# Block these signals while we're forking.
    $sigset = POSIX::SigSet->new(SIGINT SIGTERM);
    sigprocmask(SIG_BLOCK, $sigset)
        or die "Can't block signals for fork: $!\n";
        
thanks,
-joe