The Raspberry Pi will happily compile all the required aspects of Sonic Pi. However, be warned that it will take quite some time to complete.
First grab the dependencies, compile the server extensions, then the GUI then start the app.
The dependencies for building and running this are:
sudo apt-get install to ensure each of these are on your system.
Compile the server extensions by
cding into the directory
app/server/bin and running the script
compile-extensions.rb. This will take some time.
cd into the directory
app/gui/qt/ and run the script
rp-build-app. This will also take some time.
Run the script
rp-app-bin in the directory