More trouble connecting Rails to Oracle

Hi,

I have an application under development that I have been working on with
a PC. I have just checked out the code on a Mac, and I cannot get my
server to start. I am using Rails 2.0.2. Below is the error:

wireless:events me$ ruby script/server
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
Exiting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:133:in
load': syntax error on line 1, col 9: adapter: oracle’
(ArgumentError)
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:133:in
load' from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:506:indatabase_configuration’
from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:233:in
initialize_database' from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:94:inprocess’
from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in
send' from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:inrun’
from /htdocs/events/config/environment.rb:13
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
gem_original_require' ... 25 levels... from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:ingem_original_require’
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require’
from script/server:3

I have the activerecord-oracle-adapter (1.0.0.9250) installed, and below
is the pertinent code from my database.yml file (with the appropriate
db, username and password per my working PC code):

development:
adapter: oracle
database: mydatabase
username: myusername
password: mypassword

Any ideas what the problem could be?

http://www.carakan.com/2008/01/14/conectarse-de-rails-202-a-oracle/

este me sirvio

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs