Rails: Upgrade Passenger for Rails 2.3.3

I recently upgraded a project from Rails 2.3.2 to 2.3.3, after which I started getting strange the following error from Passenger:

After a little Googling, I discovered that I also needed to upgrade passenger from 2.1.2 to the current version 2.2.4. If you're using RubyGems, this is a quick and easy:

bashgem update passenger


Once the Passenger installation has finished, be sure to update your apache config to point to the new version of Passenger:

```apache# apache2.conf

LoadModule passengermodule /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/apache2/modpassenger.so

PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4

PassengerRuby /usr/bin/ruby1.8```