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
It fails after require 'lightio', error messages are shown below:
ArgumentError: unsupported backend:
from C:/Ruby25/lib/ruby/gems/2.5.0/gems/nio4r-2.3.1/lib/nio/selector.rb:17:in `initialize'
Caused by LoadError: cannot load such file -- lightio
from C:/Ruby25/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
The text was updated successfully, but these errors were encountered:
It seems that the only valid input for NIO::Selector.new is :ruby (a symbol but not a string). When I set LIGHTIO_BACKEND in ENV, it is always a string. For example, when I set LIGHTIO_BACKEND to ruby, it will also fail.
It fails after
require 'lightio'
, error messages are shown below:The text was updated successfully, but these errors were encountered: