Simple instructions and pitfalls for upgrading rails 1.1.6 to 1.2 (help)

Alright, things are really looking clumsy for me and this upgrade, so I am reaching out. I read the issues for upgrading on the ruby weblog, but I really didn’t find “clear” answers to the upgrade problems, so I am reaching out for help.

I have compiled a list of questions… if I am missing any please be kind and add to them.

Current Environment = " FC6 linux, Ruby 1.8.5-2, Rails 1.1.6, Gems-0.9.2 actionmailer (1.2.5 ) actionpack (1.12.5) activerecord (1.14.4) activesupport (1.3.1)" gem_plugin 0.2.2" (need anything else let me know)

I installed rails 1.1.6 using “gem install -v 1.1.6”

When I attempt to upgrade to 1.2.2 so much stuff breaks that I don’t even know where to start. My unit tests fail, I can’t start mongrel/web server, I get actionmailer No Method Errors… ( see below for it )

1)Is it easier to do a fresh install of rails using a different path? (for e.g: /usr/local/NEW/) 2)What dependency issues can I expect? 3)What will and will probably break (with the noted env above) 4) Why am I so confused by this upgrade when others were so painless? 5) Is the gem_require warning fixed? How do I fix it?

  1. after install of rails 1.2.2 is it necessary to run “gem update --system”? 7)Do I need to explicitly set my RAILS_VERSION in environment.rb?
  2. Do I need to upgrade rake?
  3. Will you please be so kind to help me, since I am broken? :frowning:

Thanks for your time.

ActionMailer Errors

/usr/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/base.rb:293:in method_missing': undefined method smtp_settings=’ for ActionMailer::Base:Class (NoMethodError)