Ruby 1.9 + mysql/sqlite gems on windows worries
Hey guys.
So this thread is not directly related to rubymine.
However I'm trying to get some help here. For the last couple of days I had huge trouble installing any versions of the mysql and sqlite gems for ruby 1.9.1 (p129) on Windows. Tried to compile them on my own using the mingw devkit from Luis Lavena but however I didn't quite manage it after several attempts.
So my question is, if anyone has managed to get ruby 1.9.1 with the mysql and sqlite gem working on windows... If so, how about uploading the ruby directory including these gems for me and all the other guys who are still waiting for the new one-click-installer?
Cheers!
Please sign in to leave a comment.
Yeah right!
Just after I posted this I got the mysql extension working.
So... I know a lot of people are trying to get ruby1.9.1+mysql to work on windows. So here it is (no sqlite though): http://buhrmi.de/uploads/ruby-1.9.1-p129-with-mysql.zip
Enjoy.
For sqlite3 you can simply use previous version of the gem:
gem install sqlite3-ruby --version "1.2.3"
Thanks, I've updated the file to include mysql and sqlite3
this works for me (even with MysqlServer v 5.1 )
gem install mysql --platform=RUBY -- --with-mysql-dir=c:/apps/mysql51 --with-mysql-lib=c:/apps/mysql51/lib/opt
you have to of course switch c:\apps\mysql51 to your mysql install location