I tried the gem install command:
gem install activerecord-oracle-adapterwith no luck.
I tried
gem install activerecord-oracle-adapter --source http://gems.rubyforge.orgalso with no luck.
Then I tried this. I am sure it is not the purist solution but it works !!!
Download the oracle_adapter.rb
Then copy this into the relevant directory under where you have ruby installed.
C:\ruby\lib\ruby\gems\1.8\gems\activerecord-2.0.2\lib\active_record\connection_adapters
And bobs your father's brother ...
My database.yml file looks like this:
development:
adapter: oracle
database: my_sid
username: my_user
password: my_password
2 comments:
It may have been a typo on your part...
gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org
That works just fine (adapter, not adaptor).
cheers mdweezer.
It was a typo.
Not sure why I can not get gem install to work. Very annoying.
Post a Comment