upgrading from rails 1.1.6 to 2.3.2; problems with activerecord-oracle-adapter

I'm upgrading from rails 1.1.6 to 2.3.2 and having problems with activerecord-oracle-adapter. Following are the ruby, rails & gems versions. "ruby script/about" has the problems.

Quoting sultan <sultan.bhatia@gmail.com>:

I'm upgrading from rails 1.1.6 to 2.3.2 and having problems with activerecord-oracle-adapter.

I really suggest you upgrade from 1.1.6 to 1.2.6 first. Rails 1.2.6 has many checks for deprecated (soon to be dropped) features. When your app runs without warnings on 1.2.6, then move to 2.x. I'd also suggest a quick stop at the latest version of 2.0.x or 2.1.x before jumping to 2.3.2. Much has changed and trying to untangle it all at once will shorten you life, your marriage (relationship), and hair coverage regardless of gender.

HTH,   Jeffrey

Don’t forget rake rails:update to update scripts, config etc.

Colin

Hi Jeffrey & Colin,

Thanks for your quick response. Just to give you a brief back ground: Currently we have the application on a "production" box where we make the client requested changes in the evenings or week-ends. We have recently got a development box where I installed ruby 1.8.6; rubygems 1.3.3; rails 2.3.2 & ruby-oci8-2.0.1. The application itself is not very large, so the changes and testing for rails 2.3.2 should not be a problem. Regarding the actual problem, I did do "rake rails:update" which was suggested when I first ran "ruby script/about". After that, when I ran "ruby script/about" again, I got the oracle adaptor error message. Is it a gem installation, configuration or an application problem?

Rails 2.3 does not work with ruby-oci8 2.0.0. gem install ruby-oci8 -v 1.0.4

You can find detail info at http://wiki.rubyonrails.org/database-support/oracle.

Thanks Joyce. I am a step ahead when I went to ruby-oci8 1.0.4

Now I am struggling with the following: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- environments/ localization_environment (MissingSourceFile)