[Rails] (ActiveRecord::AdapterNotSpecified) Error

Kavika Vollmar kavika at the-dave.com
Sat Jan 14 17:22:33 GMT 2006


All,
I am on Mac OS X 10.4, went through all the installation steps for mysql 
and ruby on rails. Now, I am getting this error when
trying to start webrick or when trying to create the tables:

/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/
connection_adapters/abstract/connection_specification.rb:73:in 
`establish_connection': development database is not
 configured (ActiveRecord::AdapterNotSpecified)


I am using the following database.yml file (passwords replaced with *):

development:
	adapter: mysql
	host: localhost
	database: depot_development
	username: root
	password: ********

test:
	adapter: mysql
	host: localhost
	database: depot_test
	username: root
	password: ****

production:
	adapter: mysql
	host: localhost
	database: depot_production
	username: root
	password: *****
  
Please help!!!

Thanks



More information about the Rails mailing list