[Rails] Database Adapters Not Found

Curt Sampson cjs at cynic.net
Fri Nov 12 02:58:45 GMT 2004


On Thu, 11 Nov 2004, Alexey Verkhovsky wrote:

> >dev1 $ ./script/new_controller
> >./script/../config/environments/../../vendor/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:66:in `establish_connection': ActiveRecord::AdapterNotFound (ActiveRecord::AdapterNotFound)
> >
> >
> The only possible reason for this error is that it cannot do require
> 'postgresql'.

That was it; I made a typo when setting up an element in $:. It's nice
to know that new versions will give a better error message.

How about dealing with not using SQLite when not using gems? (Although
from the looks of it, even with gems you can't use rails without SQLite
installed.)

cjs
-- 
Curt Sampson  <cjs at cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
     Make up enjoying your city life...produced by BIC CAMERA


More information about the Rails mailing list