I'm trying to create a socket in Ruby using
require "socket"
w = UNIXSocket.new("socket")
and I keep running into
No such file or directory - socket (Errno::ENOENT)
This looks completely backwards to me, because new()
is supposed to create that missing file. What am I missing?