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 : http://rorguide.blogspot.com/2011/03/installing-mysql2-gem-on-ruby-192-and.html but it still fails

Godspeed –

Junayeed Ahnaf Nirjhor

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

···

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

Junayeed Ahnaf Nirjhor 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 Lavena

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