[Rubyinstaller-devel] Updated MySQL and SQLite3 gems for Mingw
mhodgson at gmail.com
Sat May 16 19:58:57 EDT 2009
I didn't use your forks, I built from the original gem source. I
installed Mingw Ruby and the development environment and added the bin
directory to my path. Next, I copied the MySQL and SQLite development
files (headers and DLLs) into C:\ruby\devkit\msys\1.0.11\usr\local .
After that, it only required the usual change to the .gemspec (change
platform to Gem::Platform::CURRENT).
The MySQL gem is built on 5.0, I already ran into the 5.1 headaches :)
I was also able to build and install the do_mysql and do_sqlite3
extensions by just adding '--with-mysql-dir=/usr/local/mysql' and
'--with-sqlite3-dir=/usr/local/sqlite3' to my gem install lines. The
Data Objects extensions were always a pain on the VC6 OCI, so this was
I'll take a look at your forks now, I've been so busy at work I
haven't had time to keep up on new developments or look at
On Sat, May 16, 2009 at 6:51 PM, Luis Lavena <luislavena at gmail.com> wrote:
>> I built the lastest MySQL and SQLite3 gems for my own use, and thought
>> I might share with others:
>> I've got the process down to a fine art, so if anyone out there has
>> any requests, I'm all ears!
> Did you based those in mysql-gem and sqlite3-ruby fork I have at github?
> MySQL 5.1 is incompatible with the gem, lot of segfaults that I can
> blame the extension itself (since DataMapper guys don't face those).
> The one in sqlite3-ruby is based on Jamis work and uses rake-compiler.
> Can you share the steps you used to build those? I would really love
> to integrate and get the smoother experience for everybody!
More information about the Rubyinstaller-devel