X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/efd71a79ebaec3760d2799bd90c5e5cf96ac0bfa..e97586e69c51b7a4b08337e7d819efcd44ad9766:/examples/ruby/PingPong.tesh diff --git a/examples/ruby/PingPong.tesh b/examples/ruby/PingPong.tesh index a483667f65..501b23c873 100644 --- a/examples/ruby/PingPong.tesh +++ b/examples/ruby/PingPong.tesh @@ -1,5 +1,9 @@ #PingPong Example -$ ruby PingPong.rb + +# This setenv and the -I arg are mandatory until the make install only +! 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 > [Inmos:Sender:(1) 0.000000] [ruby/INFO] sender time :0.0