>    http://www.tmtm.org/en/mysql/ruby/
> 
> This link is the pure-ruby version of the driver. It doesn't need to 
> compiled. The easiest way to get this is probably by typing
> at a command prompt:
> 
>    gem install mysql
> 
> You should be able to test this by opening a command prompt and typing 
> "irb" and hitting enter. Then try:
> 
>    require 'mysql'
>    Mysql.client_info
> 
> If that errors and you did the "gem install mysql" previously then try:
> 
>    require 'rubygems'
>    require 'mysql'
>    Mysql.client_info
> 
> HTH,
> 
> Zach

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?


Jon





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