You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading to Ubuntu 23.04, which includes and upgrade from Ruby 3.0 to 3.1, results in Tracks not running.
Running bundler install to reinstall the Gems for the new version of Ruby fails on installing therubyracer with the error:
/usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find': Tried to load unspecified class: Libv8::Location::Vendor (Psych::DisallowedClass)
This is a known issue with therubyracer - see Issue 467
As therubyracer is no longer maintained, the suggested solution is the change over to mini_racer by changing the entry in the Gemfile.
There appears to be a configuration mismatch with two of the mini_racer and libv8-node which I worked around by renaming the libv8-node cache directory from vendor/cache/ruby/3.1.0/gems/libv8-node-16.10.0.0-x86_64-linux-musl/vendor/v8/x86_64-linux-musl to vendor/cache/ruby/3.1.0/gems/libv8-node-16.10.0.0-x86_64-linux-musl/vendor/v8/x86_64-linux
I've done this and have Tracks working again under Ubuntu 23.04 and Ruby 3.1.2.
The text was updated successfully, but these errors were encountered:
Upgrading to Ubuntu 23.04, which includes and upgrade from Ruby 3.0 to 3.1, results in Tracks not running.
Running
bundler install
to reinstall the Gems for the new version of Ruby fails on installing therubyracer with the error:This is a known issue with therubyracer - see Issue 467
As therubyracer is no longer maintained, the suggested solution is the change over to mini_racer by changing the entry in the Gemfile.
There appears to be a configuration mismatch with two of the mini_racer and libv8-node which I worked around by renaming the libv8-node cache directory from
vendor/cache/ruby/3.1.0/gems/libv8-node-16.10.0.0-x86_64-linux-musl/vendor/v8/x86_64-linux-musl
tovendor/cache/ruby/3.1.0/gems/libv8-node-16.10.0.0-x86_64-linux-musl/vendor/v8/x86_64-linux
I've done this and have Tracks working again under Ubuntu 23.04 and Ruby 3.1.2.
The text was updated successfully, but these errors were encountered: