rubyrays: Add option parser + other relevant changes

rubyrays has been updated to match the new reference image. Most command line options in eb78a3e6b80 were also added.