I'm using Oracle instead of mysql for this example. I've also installed Ruby/OCI8 on WinXP Pro. When I try to
ruby script\generate model Recipe I get these errors:
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 OCI8 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 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
In database.yml, I've tried the following values for adapter:
oracle, Oracle, oci8, OCI8 but no luck. Any thoughts as to how I can make Rails recognize oracle adapter?