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:in `database_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:in `process' 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:in `run' 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:in `gem_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?