I have successfuly connected to a local mySql db and am now trying to connect
to DB2 on MVS from an XP box (error message below).
Do I need to explicitly install something or run some setup ... I
didn''t need
to for mysql. What files should be where?
My database.yml:
development:
adapter: db2
database: <dbname>
host: <hostname>
userame: <username>
password: <password>
When I start the server I get:
-----begin error
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/
connection_adapters/abstract_adapter.rb:83:in
`establish_connection'': database configuration specifies nonexistent
db2
adapter
(ActiveRecord::AdapterNotFound)
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/
connection_adapters/abstract_adapter.rb:75:in
`establish_connection''
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/
connection_adapters/abstract_adapter.rb:70:in
`establish_connection''
from ./script/../config/environment.rb:47
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__''
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require''
from script/server:42
-----end error