This patch fixes the, currently broken, Ruby example scripts to reflect the changes in the parsing of command-line options.