From 25510c1c2c02e5df2f1aabebbb0c7bc6d6f01111 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 17 Jul 2018 01:00:05 +0000 Subject: ruby-runner.c: show the failed path git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby-runner.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ruby-runner.c') 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 #include #include #include @@ -73,5 +74,6 @@ main(int argc, char **argv) memcpy(p, rubyname, namesize); execv(rubypath, argv); + perror(rubypath); return -1; } -- cgit v1.2.1