When using faye ruby client with webmock - when trying to subscribe to any channel - it fails with RuntimeError: Unable to create local socket. It turns out, that StringIO is being passed into Net::BufferedIO class and WebMockNetBufferedIO does not deal with StringIO properly. This commit fixes it.
RuntimeError: Unable to create local socket
Treat StringIO in WebMockNetBufferedIO properly
+1, ran into this when transitioning to Artifice from Webmock.