I recently performed a bundle update
to refresh the development and testing gems in my Gemfile, while keeping the production gems locked to specific versions. The result was that nio4r stayed at version 2.5.2 due to its locked status. However, following the update, I encountered an issue where nio4r threw an error: nio4r-2.5.2/lib/nio/selector.rb:17:in ‘initialize’: unsupported backend: (ArgumentError)
.
I’m in the process of upgrading both Ruby and Rails, focusing on necessary tests and refactoring my setup before proceeding.
Here’s the output from my Puma server:
Puma is initializing in single-thread mode...
* Puma version: 6.3.0 (ruby 2.7.2-p137)
* Minimum threads: 5
* Maximum threads: 5
* Environment: development
* Process ID: 11436
* Serving at http://[::1]:3001
* Serving at http://127.0.0.1:3001
Shutdown in progress
Error Trace:
...
nio4r-2.5.2/lib/nio/selector.rb:17:in 'initialize': unsupported backend: (ArgumentError)