-
Notifications
You must be signed in to change notification settings - Fork 191
Installing on Ruby > 3.0 #467
Comments
Initially upgrading with the hopes of fixing lemurheavy/coveralls-public#1240. Upgrading how we handle the versioning according to https://andycroll.com/ruby/read-ruby-version-in-your-gemfile/. Ran into rubyjs/therubyracer#467, so I ended up resolving it by switching to mini_racer via rubyjs/mini_racer#218 (comment).
Initially upgrading with the hopes of fixing lemurheavy/coveralls-public#1240. Upgrading how we handle the versioning according to https://andycroll.com/ruby/read-ruby-version-in-your-gemfile/. Ran into rubyjs/therubyracer#467, so I ended up resolving it by switching to mini_racer via rubyjs/mini_racer#218 (comment).
Initially upgrading with the hopes of fixing lemurheavy/coveralls-public#1240. Upgrading how we handle the versioning according to https://andycroll.com/ruby/read-ruby-version-in-your-gemfile/. Ran into rubyjs/therubyracer#467, so I ended up resolving it by switching to mini_racer via rubyjs/mini_racer#218 (comment).
It works on Ruby 3.0.x, however it doesn't work on Ruby 3.1.x. I'm using it with Ruby 3.0.4 |
@VelizarHristov Ok thanks. Currently using |
I don't expect it to work on Ruby 3.2 or later. It seems like this is not a bug that they're going to fix, but rather they removed something and now therubyracer needs to be updated to be compatible, however therubyracer is no longer maintaned so I don't think it will ever be compatible. I found that my app worked just fine without therubyracer. It's possible that you might need to install Node.js on the computer, though. |
I had the same issue, I uninstalled psych >= 5 and I was able to install therubyracer
|
This worked fine for me on ruby 3.0.5. But as soon as I upgraded ruby to 3.2.1 and ran |
Exceptionally, fixed here. That said the project is unmaintained and this will be the last one. |
Hi,
I'm trying to upgrade a Ruby on Rails app from 2.x to 3.x.
While running
bundle install
I got the following error:As far as I understand, this is the same as this mini racer issue:
Ruby 3 uses Psych 4.x to parse Yaml files, and the libv8 version required by therubyracer (~> 3.16.14.15) did not fix this issue yet.
So for the rubyracer to support Ruby 3.x it seems to need to update it's libv8 dependecy version.
If so, is there a plan to do so and support Ruby 3.x?
The text was updated successfully, but these errors were encountered: