nix-shell
/usr/bin/env nix-shell
... in the ruby shebang test.
The test fakes the interpreter only to verify the arguments it would be given.