This error happened to me before with nio4r gem when I upgraded to Catalina and @dmitry barskov answered it. A similar issue is happening now after big sur upgrade with json