I'm making a small ruby command line script and I wanted to know what the simplest way to have the program emit a beep is.
Try printing the audible bell character:
print "\a"