The above link points to a ruby extension for mysql that is written in C. It has to be compiled. Compiling it on windows is a real
pain. The "ruby extconf.rb ..." command is used to start compiling the extension.
check this out to read article i started when i was having my mysql
problems:
i personally never installed any C code modules and i never ran
extconf.rb - this may be what you are looking for, however i'm still
hoping to find out why this solved my problems(if there are any people
out there who might know'maybe it's cos i never ran etconf.rb, i'm not
willing to find out though')
The above link points to a ruby extension for mysql that is written in
C. It has to be compiled. Compiling it on windows is a real
pain. The "ruby extconf.rb ..." command is used to start compiling the
extension.
I'm not sure who's but this is but you have to make sure that the
msql\bin entry in your path environment variable is set and if it's the
last entry it must have a semi colon at the end otherwise somethings not
finding it.
Ok, I'm having the same problem getting mysql to work with ruby. I
tried your approach. When I entered gem install mysql I get a few
options. I chose the second option "mysql 2.7 (ruby)" and got the
following error:
Failed to gem native extension
As expected, both test options failed. When I tried require 'rubygems'
in irb it returned false. I also saw the message concerning the
rubyapache download but am not sure what apache is. Any thoughts?