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
On Sun, Jul 09, 2006, Scott Taylor wrote:> 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.You also need the sqlite3 gem. sudo gem install sqlite3-ruby Ben