I think it's not really intended for synth design and complex sound design, it's more akin to an instrument than a DAW. If you read the source code for Sonic Pi you'll see that most the synths are implemented in SuperCollider language or Clojure using the Overtone library, not Ruby/Sonic Pi.