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.
For Mac OS X:
system('say "beep"')
Conventional print "\a" didn't always work by some reason for me (MBA, 10.7.4)
print "\a"