ruby-runner.c: show the failed path

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-07-17 01:00:05 +00:00
parent 71120953d7
commit 25510c1c2c
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#define _POSIX_C_SOURCE 200809L
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@ -73,5 +74,6 @@ main(int argc, char **argv)
memcpy(p, rubyname, namesize);
execv(rubypath, argv);
perror(rubypath);
return -1;
}