let the user explicitly choose ruby and rake programs
[libguestfs.git] / ruby / run-bindtests
index 4cac863..aafcfba 100755 (executable)
@@ -18,5 +18,5 @@
 
 set -e
 
-ruby -I${srcdir}/lib -Iext/guestfs ${srcdir}/bindtests.rb > bindtests.tmp
+$RUBY -I${srcdir}/lib -Iext/guestfs ${srcdir}/bindtests.rb > bindtests.tmp
 diff -u ${srcdir}/../bindtests bindtests.tmp