Trying to sort out the relationships between activerecord, 
activerecord-jdbc-adapter and how to make sure everything is properly 
configured.  Right now I am using jruby 1.1b1 and activerecord-jdbc 6.0 
and active_scaffold.  I think I have everything correctly configured but 
I get the following error when I execute the server script:

=> Booting WEBrick...
E:/jruby-1.1b1/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/connection_specification.rb:210:in
 
`establish_connection': database configuration specifies nonexistent 
as400 adapter (ActiveRecord::AdapterNotFound)

So it doesn't find the as400 adapter I have specified in the 
database.yml file.  How do I resolve this?  What is throwing me is the 
references to activerecord-1.15.5.  Shouldn't it be looking in 
activerecord-jdbc-adapter-0.6 ? 

The readme is helpful but I am not sure what to do when you use an 
adapter that is a modification of an existing adapter.  For example, if 
you want to take the existing mysql adapter and then modify it and call 
it fooMysql, then what would be the yml entry and the other needed 
associated files in the jdbc_adapter and the 
activerecord\connection_adapters folders be?

Pete


_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to