Ruby on Rails
AustinMoody

austin (.) moody (at) gmail (.) com
http://www.austin-moody.com

How to install SQLite3 on Redhat Linux for Rails

These instructions are know to work on Redhat 8

1. Download and install SQLite3.

wget <a href="http://www.sqlite.org/sqlite-3.2.2.tar.gz">http://www.sqlite.org/sqlite-3.2.2.tar.gz</a>
gunzip < sqlite-3.2.2.tar.gz | tar xvf -
cd sqlite-3.2.2
./configure
make
make install

2. Download and install latest Swig.

wget <a href="http://kent.dl.sourceforge.net/sourceforge/swig/swig-1.3.24.tar.gz">http://kent.dl.sourceforge.net/sourceforge/swig/swig-1.3.24.tar.gz</a>
gunzip < swig-1.3.24.tar.gz | tar xvf -
cd SWIG-1.3.24
./configure
make
make install

3. Install the Ruby-SQLite3 bindings

gem install sqlite3-ruby -- --with-sqlite3-lib=/usr/local/lib --with-sqlite3-include=/usr/local/include