simple example of process substitution in shell (bash)
> echo <(true)
/dev/fd/11
now with Ruby (IRB) - note: Ruby is shelling out to /bin/sh
not /bin/bash
> `echo <(true)`
sh: -c: line 0: syntax error near unexpected token `('
try using bash inside a Ruby sub shell
> `/bin/bash -c "echo <(true)"`
=> "/dev/fd/63\n"