X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28e45ac6e17bcd96d8906c55e222e71942cf8de9..f27a63f2703cba8d48efc7e175102ca30e3748ab:/examples/ruby/MasterSlave.tesh diff --git a/examples/ruby/MasterSlave.tesh b/examples/ruby/MasterSlave.tesh index 0522dd885d..3a38d3fedf 100644 --- a/examples/ruby/MasterSlave.tesh +++ b/examples/ruby/MasterSlave.tesh @@ -1,6 +1,9 @@ # MasterSlave Ruby Example + +# This setenv and the -I arg are mandatory until the make install only ! setenv RUBYLIB=../../lib -$ ruby -I../../src/bindings/ruby MasterSlave.rb + +$ 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