-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Compatible with Ruby 2.5 or higher? #13
Comments
|
@ioquatix @98-f355-f1 I have also just double checked and added ruby 2.5 to my travis ci config for hitimes. Yes - hitimes does work just fine on 2.5. |
Can you paste your script and error log? |
I was out of town for 2 days, update on issues: For this LIGHTIO gem, trying to run some of the examples: For the async-http, when I run the async-http example. 9: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/async-http-0.24.3/lib/async/http/server.rb:69:in run' 8: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/async-io-1.12.2/lib/async/io/endpoint.rb:46:in accept'7: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/async-http-0.24.3/lib/async/http/url_endpoint.rb:118:in bind' 6: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/async-io-1.12.2/lib/async/io/host_endpoint.rb:55:in bind'5: from C:/Ruby25/lib/ruby/2.5.0/socket.rb:227:in foreach' 4: from C:/Ruby25/lib/ruby/2.5.0/socket.rb:227:in each'3: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/async-io-1.12.2/lib/async/io/host_endpoint.rb:56:in block in bind' 2: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/async-io-1.12.2/lib/async/io/socket.rb:166:in bind'1: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/async-io-1.12.2/lib/async/io/socket.rb:110:in build' C:/Ruby25/lib/ruby/gems/2.5.0/gems/async-io-1.12.2/lib/async/io/socket.rb:168:in block in bind': uninitialized constant Socket::SO_REUSEPORT (NameError)Did you mean? Socket::SO_REUSEADDR For the falcon, it's not clear how to run that? falcon serve... from where? the cmd prompt? otherwise it flags the run command. For the socketry itself, so far 2 examples have run... so good so far there. Thanks for looking into this. |
@98-f355-f1 LightIO is a bit of an experiment, I'm not sure if the long term plan is to complete it or maintain it. Regarding falcon, just run it in a directory with a |
Also, my understanding is that the actual |
Regarding |
Seems LightIO crashed because it can't detect a usable NIO backend(this line), I thought use nil argument should let NIO automatic find a usable backend(or maybe it's another windows issue?). I do not have windows installed, you can try to specific which backend to use manually https://github.com/socketry/lightio/wiki/Basic-Usage#choose-backend |
Is this Ruby 2.5 friendly... I am getting initialization errors from the kernel for require.
I also noticed that I cant install the other gems, b/c hitimes is not compatible with Ruby 2.5.
The text was updated successfully, but these errors were encountered: