X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/efd71a79ebaec3760d2799bd90c5e5cf96ac0bfa..dc7bcc75749ca6fe24da694e8ab8682af0f67149:/examples/ruby/MasterSlave.tesh diff --git a/examples/ruby/MasterSlave.tesh b/examples/ruby/MasterSlave.tesh index da92c498c1..3a38d3fedf 100644 --- a/examples/ruby/MasterSlave.tesh +++ b/examples/ruby/MasterSlave.tesh @@ -1,5 +1,9 @@ # MasterSlave Ruby Example -$ ruby MasterSlave.rb + +# This setenv and the -I arg are mandatory until the make install only +! 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 > [Tremblay:Master:(1) 0.000000] [ruby/INFO] args[2]=1000000