Otherwise the test will fail if /bin/sh is a more POSIXly strict shell like dash as Ruby uses /bin/sh and not the current user's login shell.