diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 5c420bf023..3c4a4803c4 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -418,7 +418,7 @@ end if load_relative PROLOG_SCRIPT = </dev/null; pwd` +bindir="${0%/*}" EOS if CONFIG["LIBRUBY_RELATIVE"] != 'yes' and libpathenv = CONFIG["LIBPATHENV"] pathsep = File::PATH_SEPARATOR