From 81bf71542952174c0154de1bc92aebef04c8f949 Mon Sep 17 00:00:00 2001 From: Wander Lairson Costa Date: Tue, 21 May 2013 21:01:30 -0300 Subject: [PATCH] Fix Ruby 1.9 load path. Ruby 1.9 removed the current directory from the load path, so we need to do absolute path loading inside the *preprocess* script. --- preprocess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocess b/preprocess index 0162b83..5fb25cf 100755 --- a/preprocess +++ b/preprocess @@ -10,7 +10,7 @@ function r() { function preprocess() { file="$1" out="$(dirname "$file")/$(basename "$file" mpl)" - r "$RUBY" mplex -rmpl "$file" -o "$out" + r "$RUBY" mplex -r"./mpl" "$file" -o "$out" if [ "$?" != 0 ]; then echo "" echo "** preprocess failed **"