I got the following error installing mysql using command:
gem install mysql --remote

Attempting remote installation of 'mysql'
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (RuntimeError)
     ERROR: Failed to build gem native extension.
Gem files will remain installed in 
c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.6 for
inspection.
   ruby extconf.rb install mysql --remote\nchecking for mysql_query() in 
mysqlclient.lib... no
checking for main() in m.lib... yes
checking for mysql_query() in mysqlclient.lib... no
checking for main() in z.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in socket.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in nsl.lib... no
checking for mysql_query() in mysqlclient.lib... no

Results logged to c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.6/gem_make.out


Any ideas how to fix this problem?.

Thanks

Andres