diff options
Diffstat (limited to 'ruby-runner.c')
-rw-r--r-- | ruby-runner.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby-runner.c b/ruby-runner.c index 99be4a0013..3d59ebb760 100644 --- a/ruby-runner.c +++ b/ruby-runner.c @@ -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; } |