On Feb 15, 2006, at 4:14 PM, Assaph Mehr wrote: >> I am trying to play with ackbar right now. What is the >> syntax for >> database.yml in order to use the kirbybase adapter? Can you give me a >> sample please? > > That's a simple one to answer: > > development: > adapter: kirbybase > database: db/dev_db > > Te database should point to a directory, in which KirbyBase will store > the .tbl files. There are a few other options that can be passed to > KB, but essentially this is what I used for testing. > > Cheers, > Assaph > Thats what I thought and i already have that but I still get this stack trace when i try to do anything with the db: ezra:~/_book/kirby ez$ script/generate migration initial_schema /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/ connection_adapters/abstract/connection_specification.rb:79:in `establish_connection': database configuration specifies nonexistent kirbybase adapter (ActiveRecord::AdapterNotFound) from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/connection_adapters/abstract/ connection_specification.rb:71:in `establish_connection' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/connection_adapters/abstract/ connection_specification.rb:66:in `establish_connection' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:169:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:83:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:42:in `send' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:42:in `run' from ./script/../config/../config/environment.rb:10 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 18:in `require__' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 18:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:214:in `require' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/ generate.rb:1 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 18:in `require__' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 18:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:214:in `require' from script/generate:3 Clues? Do i need to bootstrap the db somehow before I just make an intial schema or what? Thanks -Ezra