-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility with Ruby 3.0.0 #98
Comments
Hi Luiz, thanks for reporting the issue! Some questions:
|
This is my Gemfile.lock: https://gist.github.com/luizkowalski/eb77a463fe13c0bd0a847b20b3d1d5b3 I might have missed some information here, sorry: So, as it is, if try to start the app or run the specs I get this error:
At first, I thought the issue was on Doorkeeper, so I completely removed it from the application. What I got, then, was nothing: webserver didn't boot and running RSpec actually created a I kept removing gems here and there until I dropped valvat from the application and suddenly everything was working fine: server, doorkeeper, tests, etc. Answering your questions:
I couldn't even get to make a request That's all that I know for now. Let me know if you need anything else |
Thanks for the details. |
well, I will keep digging it, maybe I find something else then because I doubt I could reproduce if you couldn't Thanks for your help! 🤗 |
hey @yolk! yesterday I spent hours and hours debugging this and I found a couple of things (and even made it work). So this is what I found:
I did this for some initializers, restarted and it worked but again when I added this line, when commented/removed, completely stops this issue and I have no idea why but I assume it has something to do with class loading on Ruby 3/Rails 6.1.x? What do you think can be done here? For testing this, I wrapped this code with reloader:
and this also worked but I'm not sure if this could be done |
Thanks a lot for all the hours! I'll dig into it as soon as possible. |
I found a similar issue: heartcombo/simple_form#1724 But I am still not able to reproduce the issue with Thanks! |
this is really interesting! really nice find! thanks a lot for this right now I put the migration on hold because Ruby 3 also introduced a new regression and I will have to wait for a new release but I'll follow these issues and play with this in my free time thanks again! if you want to close it I guess it is fine with me |
Thanks for the update. I'll guess I keep the issue open till it is resolved in I18n. |
@luizkowalski Seems to be resolved with I18n 1.8.9: ruby-i18n/i18n#557 (comment) |
perfect, @yolk! thanks a lot for your help here |
I'm running Rails (6.1.1) and Valvat (1.1.0) on Ruby 2.7.2 and it works fine.
Now I'm trying to upgrade to Ruby 3.0.0 and get this weird issue where the main thread appears to be blocked by something. Nothing happens, no output, no log in the console, nothing. I can't even
ctrl-c
to stop the process, I have to kill Ruby. I tracked it down to Valvat: removing the allows the app to run fine.The text was updated successfully, but these errors were encountered: