Rails 2.0.1 RC2 - activerecord-oracle-adapter not found

Hi Chris,

Rails 2.0 and later do not ship with Oracle adapter. You can install the latest Oracle adapter via gem:   gem install activerecord-oracle-adapter or check it out from svn:   svn co http://svn.rubyonrails.org/rails/adapters/oracle/lib/active_record/connection_adapters/

Chris Gers32 wrote:

I found this on the Nabble forum (thanks, Jean-François...) :

gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org

It finally works!

Didn't work for me on Windows with Rails 2.0.2 and Gem 1.0.1..

Owen Dall wrote:

Chris Gers32 wrote:

I found this on the Nabble forum (thanks, Jean-François...) :

gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org

It finally works!

Didn't work for me on Windows with Rails 2.0.2 and Gem 1.0.1..

I moved this in by had to: C:\ruby\lib\ruby\gems\1.8\gems\activerecord-2.0.2\lib\active_record\connection_adapters

Attachments: http://www.ruby-forum.com/attachment/1272/oracle_adapter.rb

Could it be due to a temporary problem (server unavailable)? I've been experimenting with installing the whole Ruby/Rails stack in different OSs (Vista, XP, Win 2003) and works every time, with Rails 2.0.2 and Gems 1.0.1.

Owen Dall wrote:

Chris Gers32 wrote:

I found this on the Nabble forum (thanks, Jean-François...) :

gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org

It finally works!

Didn't work for me on Windows with Rails 2.0.2 and Gem 1.0.1..

If the above solution didn't work for you try updating your <a href="http://rubyforge.org/projects/ruby-oci8/&quot; title="ruby-oci8">ruby-oci8 library</a>, another resource that I found to be very helpful was this post at <a href="http://www.foliosus.com/2007/11/19/connecting-ruby-on-rails-to-oracle-on-an-intel-mac-in-leopard-mac-osx-105/&quot; title="oracle_with_rails_2.0">Foliosus.com</a>, although its focus is the Mac/Leopard setup, it provided enough insight to get oracle working for me on both *nix and windows environments.