Fix for #3114 (ruby's arbitrary limit on process groups too low)
In some circumstances ruby's arbitrary limit on process groups is too
low (32). This patch raises the limit in the recommended manner, to
a value which should suffice in all practical cases (1024).