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 the following:
$stdout.beep