ruby-noise
ruby-noise isn't quite packaged as a gem or anything - its just a few method definitions for composing wave generators and playing them with PortAudio.
In addition to the source repository, episode co-host David Bock published this gist last night that shows how to use it to compose complex audio waveforms with FM Synthesis, as well as demonstrate the mathematical relationship between notes in Western music.