Can you point me to the rubyinstaller dev list?
I did manage to find one fix:
gem install kwatch-mysql-ruby --platform=mswin32
It’s supposed to be a working mysql gem for 1.9.1. However, it gives me
the following error:
*** ERROR: can’t find mysql client library.
*** extconf.rb failed ***
I believe you’ll need the mysql headers and libraries installed
I also saw that if you use linux you can use mysql 5.1 but with windows
you need to use 5.0 - I’m not sure why this is and not sure how that
will affect me going forward. All of my websites are hosted and use
mysql 5.1 - they are also on linux/unix boxes. I just program on a
windows box for convenience.
Yeah I’m not sure why yet–no one’s yet looked into it
Luis did some good work towards his:
however, it’s for mingw + 1.8.6
I wasn’t able to get mysqlplus to compile for windows yet, either
Looks like the only way I know of is (assuming ruby 1.9 with devkit)
- download “mysql 5.0.x windows without installer”
- unzip, put it in c:\mysql
- download mysql 2.8.1 binary from tmtm
- edit extconf so that anywhere it says mswin32 it now says
4a) make sure that mysql’s bin are not in your path
- run ruby extconf.rb – --with-mysql-include=c:/mysql/include
- run make, then run make install
- copy libmysql.dll to your path
- run ruby -e ‘require “mysql”’
if it works you might be one of the first people ever to use it with 1.9
I appreciate everyone who has helped me out through some of this. I’ve
managed to learn a lot today (even with my frustrations) so that’s not a
Yeah 1.9 on windows is still pretty cutting edge. Sharp enough to cut
yourself, most definitely.