If you want to test Distributed Rex you have to follow these steps.
But keep in mind,
this is work in progress.
It may crash your systems and eat all your jelly beans and pretzel sticks.
And even worse - drink all your beer.
You have been warned!

After that you have to distribute your Rexfile (and all associated files (like templates, the "lib" directory, ssh keys, ...) to your worker machines. Please be carefull to name the directory where the Rexfile lives in exact the same way as on your client machine!

Now you're able to run your tasks as known. But you have to replace the rex command with rex-gearman-client. The CLI parameter are the same. So you can use rex-gearman-client the same way as you used rex.