From 28e45ac6e17bcd96d8906c55e222e71942cf8de9 Mon Sep 17 00:00:00 2001 From: mquinson Date: Sun, 28 Nov 2010 10:45:39 +0000 Subject: [PATCH] let the ruby tesh files work even without the symlink git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8711 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/ruby/MasterSlave.tesh | 1 + examples/ruby/PingPong.tesh | 1 + examples/ruby/Quicksort.tesh | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/ruby/MasterSlave.tesh b/examples/ruby/MasterSlave.tesh index 9458562d53..0522dd885d 100644 --- a/examples/ruby/MasterSlave.tesh +++ b/examples/ruby/MasterSlave.tesh @@ -1,4 +1,5 @@ # MasterSlave Ruby Example +! setenv RUBYLIB=../../lib $ ruby -I../../src/bindings/ruby MasterSlave.rb > [Tremblay:Master:(1) 0.000000] [ruby/INFO] args[0]=20 > [Tremblay:Master:(1) 0.000000] [ruby/INFO] args[1]=50000000 diff --git a/examples/ruby/PingPong.tesh b/examples/ruby/PingPong.tesh index 754bc158db..d0d6ae5d1c 100644 --- a/examples/ruby/PingPong.tesh +++ b/examples/ruby/PingPong.tesh @@ -1,4 +1,5 @@ #PingPong Example +! setenv RUBYLIB=../../lib $ ruby -I ../../src/bindings/ruby PingPong.rb > [Inmos:Sender:(1) 0.000000] [ruby/INFO] Hello from Sender > [Inmos:Sender:(1) 0.000000] [ruby/INFO] Host count :1 diff --git a/examples/ruby/Quicksort.tesh b/examples/ruby/Quicksort.tesh index c0fc1181e6..866e3ae9cd 100644 --- a/examples/ruby/Quicksort.tesh +++ b/examples/ruby/Quicksort.tesh @@ -1,4 +1,5 @@ #QuickSort Ruby Example +! setenv RUBYLIB=../../lib $ ruby -I ../../src/bindings/ruby Quicksort.rb > [Inmos:Sender:(1) 0.000000] [ruby/INFO] Hello Bellevue !!, Please !! I need you to help me to sort my table , Here it is : > [1, -2, 45, 67, 87, 76, 89, 56, 78, 3, -4, 99] -- 2.20.1