Closed anatol closed 2 years ago
Hi, we unfortunately don't have the resources to support Linux users at this point.
I can say that we have made no effort at this stage to work on Ruby 2.7 compatability. We do know that at least on macOS that Ruby 2.6.5 works, so it might be wise to work with that version for the time being.
it might be wise to work with that version for the time being
Arch Linux is adding 2.7 as its system ruby version. And we want to enable it for all applications we maintain in our repository. Adding multiple versions of ruby for sonic-pi and its dependencies creates a lot of mess actually and we would like to avoid it.
to work on Ruby 2.7 compatability
ruby 2.7 is mostly compatible with 2.6. The error above is likely due to ancient version of kramdown
. If the dependency is updated then it most likely solve the compatibility problem.
The standard way to maintain bundled ruby dependencies is to use bundler
. Is there any chance for you to merge https://github.com/samaaron/sonic-pi/pull/2110 and then bump the dependency versions?
As far as I can see #2110 is not complete yet. Could you merge it locally and test? It would be good to get some feedback on its status.
@dvzrv do you have cycles to look at the bundler patch?
@anatol I'll try to devendor kramdown, i18n and whatever else is in the way, but I'm also more or less on holiday, so this will require some time. The build setup for sonic-pi is not really straight forward to patch
Here is my attempt to convert sonic-pi to bundler https://github.com/anatol/sonic-pi/tree/bundler . Tests that I ran with rake test
pass.
The only caveat that I need to apply this patch https://github.com/xavriley/ruby-aubio/commit/5c0a96e9cc837b7ffdec430e6d39215ec93b3995 otherwise gem cannot find aubio
shared library at my Linux system.
Ruby 2.4 is EOL in March (i.e. 2 weeks). Any progress on supporting 2.7?
Yes, we have supported 2.7 for a while now :-)
What is failing for you?
Could you please create a new release, then?
On Linux the build process it not creating a binary (or even the build
directory) for me and the instructions for how to build are outdated, unfortunately: https://github.com/samaaron/sonic-pi/blob/master/INSTALL-LINUX.md.
I tagged v3.2.0 on Github on Monday.
Unfortunately I don't currently have the resources to make builds for or to support Linux in general.
There have been improvements in the build process and I'm hoping to sort them out some more, but help here would definitely be useful as I don't currently have a linux box (other than my servers).
Closing due to inactivity.
We have completely overhauled the building and booting systems in the recently released v4
of Sonic Pi:
https://github.com/sonic-pi-net/sonic-pi/releases
Please do give v4 a try and feel free to create a new issue if you're still having problems. If there isn't a package available for your Linux distribution, then you should be able to self-compile using the following instructions:
https://github.com/sonic-pi-net/sonic-pi/blob/dev/BUILD-LINUX.md
I am trying to build the project with ruby 2.7 and it fails:
Could you please help to understand how to fix the issue?