Working through setting this up, ran into a few things and took notes. Thought I would post them here for anyone running across the same.
-
This needs Sonic PI cloned from Github, not the Debian apt repo. You also may need to run sonic-pi/app/server/ruby/bin/compile-extensions.rb
-
It may fail due to missing libaubio (note the "b", not "d"). You will need to sudo apt install libaubio-dev.
-
But there's a good chance that this won't install in one of the places the Ruby FFI gem is looking for that library, so it'll still tell you that you don't have it:

As you can see, the files it say are non-existent are clearly there, it just (as it states) needs better search heuristics. So we cp them to one of the folders it actually looks in 🙄

- After this, running the extension from VS Code and opening your Ruby file should actually start Sonic Pi. But you may get flooded with this error:
stderr: Cannot create RT messagebuffer thread: Operation not permitted (1)
To fix this, you need to install + open qjackctl and press "Start" prior to running the extension:

I'm running Ubuntu 19.10 for reference.
Working through setting this up, ran into a few things and took notes. Thought I would post them here for anyone running across the same.
This needs Sonic PI cloned from Github, not the Debian
aptrepo. You also may need to runsonic-pi/app/server/ruby/bin/compile-extensions.rbIt may fail due to missing
libaubio(note the "b", not "d"). You will need tosudo apt install libaubio-dev.But there's a good chance that this won't install in one of the places the Ruby FFI gem is looking for that library, so it'll still tell you that you don't have it:
As you can see, the files it say are non-existent are clearly there, it just (as it states) needs better search heuristics. So we
cpthem to one of the folders it actually looks in 🙄stderr: Cannot create RT messagebuffer thread: Operation not permitted (1)To fix this, you need to install + open
qjackctland press "Start" prior to running the extension:I'm running Ubuntu 19.10 for reference.