Bundle update
Upgrade to Rails 3 and bundle update
Run the Rails 3 generator
Start moving to Rails 3 config/initialisation
Upgrade environment configurations
Add new Rails 3 config
Start upgrading Avaveteli initialiser
I don't think we need to support Lenny any more
Move Rails config over
RAILS_ROOT is deprecated
tmail is used by Alaveteli in Ruby 1.8 and is no longer included in Rails
Move middleware insertion
This is deprecated and now set in application.rb
Disable rescue customisations until we can move it to rack
Upgrade globalize
Switch to new method name
Remove interlock as it's not compatible with Rails 3 and is unmaintained
Don't reduce the log level in development
The with_locale has been removed in Globalize3

I think Globalize is supposed to pick up the locale from I18n anyway so I don't know if these are needed.

I think I still haven't done the right thing but it's time to move on.
Require public_body_categories like the other things in lib