Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let the ruby tesh files work even without the symlink
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 28 Nov 2010 10:45:39 +0000 (10:45 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 28 Nov 2010 10:45:39 +0000 (10:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8711 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/ruby/MasterSlave.tesh
examples/ruby/PingPong.tesh
examples/ruby/Quicksort.tesh

index 9458562..0522dd8 100644 (file)
@@ -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
index 754bc15..d0d6ae5 100644 (file)
@@ -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
index c0fc118..866e3ae 100644 (file)
@@ -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]