I am needing to run a ruby command basically just to check if it runs. Is there any way of doing that? I have been looking at the linux scripts, but I cant figure it out.
You should be able to update the "Command line" field to call ruby. I.E. "/usr/bin/ruby ${SCRIPT}" and enter your ruby script into the script body. Provided the script returns the required values "statistic" and exit code it should work fine.