Allow both 'No such file' and 'not found' in the error message to support various versions of Ruby