Ruby/MySQL bug (0.1.4 version)

Sorry for my previous message, it you saw it, it
must be empty.
Well, I was trying to run Ruby/MySQL under windows.
and found this problem - method real_connect thinks
that every localhost must have UNIX sockets, what of
course make s windows unhappy and Ruby/MySQL not working.

There is one line patch for that, I don’t know how
good it is, ubt it worked for me:
def real_connect(host=nil, user=nil, passwd=nil, db=nil, port=nil,
socket=nil, flag=nil)

  •  if host == nil or host == "localhost" then
    
  •  if (!PLATFORM =~ /mswin32/) and host == nil \
       >> host == "localhost" then
          unix_socket = socket || ENV["MYSQL_UNIX_PORT"] || MYSQL_UNIX_ADDR
    

P.S. Sorry if text is messed, I’m writing this from a dumb terminal…