Installing latest mysql2 on windows 7

Hello,

How can I do that? Every time I try to do that (by enhancing my rubies
via devkit) it fails on extconf.rb (I have 0.2.6 but trying to install
0.3.7).

So what’s the suggestion you have for me, if you please ? As a sidenote,
I tried this method :

but it still fails

Godspeed –

Junayeed Ahnaf N.

Twitter - @Nirjhor http://twitter.com/nirjhor

what’s your full error output?
for me, works with
gem install mysql2 – --with-mysql-dir=c:\installs\mysql-5.5-11

Junayeed Ahnaf N. wrote in post #1027967:

Hello,

How can I do that? Every time I try to do that (by enhancing my rubies
via devkit) it fails on extconf.rb (I have 0.2.6 but trying to install
0.3.7).

So what’s the suggestion you have for me, if you please ? As a sidenote,
I tried this method :
RoR Guide & Solutions: Installing mysql2 gem on Ruby 1.9.2 and Rails 3.0.5 on Windows
but it still fails

Safest way:

http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/

Replace mysql with mysql2 gem and should work (except for the IRB
testing code since mysql2 is different)


Luis L.