You probably figured this out by now, but for those that are having the 
same problem, this is caused by the libmysql.dll not being on your path. 
Essentially, that means that you have to make sure that the DLL is on 
your path before running ruby, for example:

set PATH=%PATH%;c:\progra~1\mysql50\lib\opt;c:\progra~1\mysql50\include;
ruby script.server

If you are running 64bit MySQL and 32bit Ruby, you will need to download 
the 32-bit libmysql.dll from mysql.com (e.g. by downloading the 32bit 
MySQL zip package) and set the path to point to that.

Cheers,
Nick

-- 
Posted via http://www.ruby-forum.com/.