Jesse_Hu
(Jesse Hu)
December 20, 2007, 1:42am
1
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/
11175
(-- --)
January 9, 2008, 10:25pm
2
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..
11175
(-- --)
January 9, 2008, 10:29pm
3
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
11175
(-- --)
January 10, 2008, 7:26am
4
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.
11175
(-- --)
January 16, 2008, 2:11pm
5
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/" ;
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/" ;
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.