Specifying a custom path to scsynth

Ha! So close… Server.program returns a string but when i replace it I get

exception in GraphDef_Recv: UGen ‘Control’ not installed.

many times… and obviously nothing runs on that synth. I reckon where in the doc I can find help on this, or online, or anywhere…

but hey, perseverance and this forum helped!

So I can do

Server.program = "exec 'PATH_TO_CUSTOM_SCSYNTH'/scsynth"
s.options.ugenPluginsPath = "/Applications/SuperCollider.app/Contents/Resources/plugins/"

and it works! I hope this helps someone.

note I found that adding Platform.userExtensionDir to the 2nd line is helpful to keep all my installed ugens. so that line is now for me s.options.ugenPluginsPath = ["/Applications/SuperCollider.app/Contents/Resources/plugins/", Platform.userExtensionDir]