From: Luis Lavena Date: 2009-06-06T08:20:18+09:00 Subject: Re: Can't install sqlite3-ruby gem in Windows On 5 jun, 09:53, "John T." wrote: > Luis Lavena wrote: > > On Jun 4, 1:32 pm, Nova Pon wrote: > >> Please help!! Thanks > > > This has been covered before on this list, but just for the record: > > > Latest version of sqlite3-ruby lacks binaries for Windows. For you to > > build using version 1.2.4 of the gem also requires a compiler, which > > in your case must be Microsoft Visual C 6.0 > > This is not quite true. I have several versions of Visual Studio on this > system - VC 6, Visual Studio 2003, 2005 and 2008, and none of these can > compile the gem, they all kick out various errors. > Because you also need to correct the extconf.rb in the source file and patch rbconfig of your ruby to support your compiler. Plus you need headers and libs of sqlite3 to successfuly built it. Been there, done that. > > Since is an obsolete compiler, highly unlikely you will find a > > downloadable version. > > > Please force the installation to prior version: > > > gem install sqlite3-ruby -v=1.2.3 > > This is the only solution. Especially since the (ex)maintainer of gem is > not supporting it anymore. That's why I've been working on a 1.8 and 1.9 version of the gem, forked from original (ex)maintainer: http://github.com/luislavena/sqlite3-ruby/tree/master Still tests are failing on 1.9, one of the reasons I'm not sending a pull request to James Buck to merge and integrate those. Also, working on fat binaries for 1.9 and 1.8 to workaround issues when installing the exact same gem binary on differnt ruby versions. Busy busy busy :P Regards, -- Luis Lavena