I have resolved all the problems with OCI8Errors (you should see
http://rubyforge.org/forum/forum.php?thread_id=47776&forum_id=1078 for
more information). Now there is connecting to my DBMS without
errors :)))

OS: Win_XP_home
DBMS: Oracle XE 10g

Well. When I connect to DBMS by command line, it’s ok. When I am
starting a webserver in rails application (in NetBeans), it isn’t ok.
I see an error:

==========================================
=> Booting WEBrick...
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.3/lib/active_record/
connection_adapters/abstract/connection_specification.rb:80:in
`establish_connection': database configuration specifies nonexistent
oci8 adapter (ActiveRecord::AdapterNotFound)
from C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.3/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
58:in `establish_connection'
from C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.3/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
53:in `establish_connection'
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/initializer.rb:
392:in `initialize_database'
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/initializer.rb:
139:in `process'
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/initializer.rb:
112:in `send'
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/initializer.rb:
112:in `run'
from C:/Documents and Settings/helios/Мои документы/NetBeansProjects/
TempApp/config/environment.rb:13
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
... 10 levels...
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/commands/server.rb:
49
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from script/server:3
==========================================

I have googled this error and found 1 good solution:

In http://www.troubleshooters.com/codecorn/ruby/database/index.htm ,
"Round up the usual suspects".
According to this advise, I have installed Ruby-DBI (oci8 installed
ages ago)
But the error above doesn’t disappear.

Do you know how to resolve this problem?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to