[Rails] connecting to sqlite3

Scott Taylor
Sun, 09 Jul 2006 23:11:15 -0000

I''m having problems connecting to sqlite3.

Here is what my config file looks like:

development:
  adapter: sqlite3
  dbfile: /tmp/db/test.db

test:
  adapter: sqlite3
  dbfile: /tmp/db/test.db

Running migrations causes this error to be thrown:
g4:~/sites/rails/test smtlaissezfaire$ rake migrate
(in /Users/smtlaissezfaire/Sites/rails/test)
rake aborted!
no such file to load -- sqlite3


The database exists at /tmp/db/test.db.  I can use the sqlite3 command
to view the tables, etc.  Could this be an install problem?  I''ve
installed sqlite3 with darwinports.

Scott Taylor