[Rubyinstaller-devel] Best way of installing sqlite3-ruby gem?

deepj deepjungle.maca at gmail.com
Thu May 28 14:40:13 EDT 2009


I've forgotten to say you must download this sqlite's files and create 
lib and include folder

http://www.sqlite.org/sqlitedll-3_6_14_2.zip

sqlite3.def
sqlite3.dll
-> lib folder

http://www.sqlite.org/sqlite-source-3_6_14_2.zip

sqlite3.h
-> include folder

go to lib folder and run
dlltool.exe --dllname sqlite3.dll --def sqlite3.def --output-lib sqlite3.a

dlltool is part of devkit


You can use gem install now:
gem install sqlite3-ruby -- --with-sqlite3-dir=c:/your/path/to/sqlite


More information about the Rubyinstaller-devel mailing list