Can you point me to the rubyinstaller dev list?
http://rubyforge.org/mail/?group_id=167
I did manage to find one fix:
gem install kwatch-mysql-ruby --platform=mswin32
--source=
http://gems.github.com/
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:
http://github.com/luislavena/mysql-gem/tree/master
however, it's for mingw + 1.8.6
I wasn't able to get mysqlplus to compile for windows yet, either
<sigh>.
Looks like the only way I know of is (assuming ruby 1.9 with devkit)
1) download "mysql 5.0.x windows without installer"
2) unzip, put it in c:\mysql
3) download mysql 2.8.1 binary from tmtm
http://www.tmtm.org/en/mysql/ruby/
4) edit extconf so that anywhere it says mswin32 it now says
mswin32|mingw
4a) make sure that mysql's bin are *not* in your path
5) run ruby extconf.rb -- --with-mysql-include=c:/mysql/include
--with-mysql-lib=c:/mysql/lib/opt
6) run make, then run make install
7) copy libmysql.dll to your path
8) run ruby -e 'require "mysql"'
if it works you might be one of the first people ever to use it with 1.9
enjoy1
-=r
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
bad thing..
Yeah 1.9 on windows is still pretty cutting edge. Sharp enough to cut
yourself, most definitely.