I don't understand what you're trying to do -- the *.rb files are normally used in Snd, where Snd has been built with Ruby. In that case, sndlib is included at compile time, and you just load("ws.rb"), for example. I don't know anything about compiling a Ruby file.