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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs