hivex: Fix Ruby bindings for 1.9; let the user explicitly choose ruby, rake
[hivex.git] / ruby / run-ruby-tests
index 1596c87..74afb9f 100755 (executable)
@@ -24,6 +24,6 @@ export LD_LIBRARY_PATH=../lib/.libs
 # is bound to fail because they all use a single test image file).
 
 for f in tests/tc_*.rb; do
-    echo rake test "$@" TEST="$f"
-    rake test "$@" TEST="$f"
+    echo $RAKE test "$@" TEST="$f"
+    $RAKE test "$@" TEST="$f"
 done