Phusion white papers Phusion overview

Phusion Passenger 2.2.10 released

By Hongli Lai on February 22nd, 2010

Phusion Passenger is an Apache and Nginx module for deploying Ruby on Rails web applications, and is mainly focused on ease of use and stability.

Recent changes

Phusion Passenger is under constant maintenance and development. We are pleased to announce Phusion Passenger version 2.2.10. This is a bug fix release.

  • Fixed some Bundler compatibility problems.
  • Fixed some file descriptor passing problems, which previously could lead to mysterious crashes.
  • Fixed some compilation problems on newer GCC versions. Issue #430.
  • Support #size method in rack.input.

How do I upgrade to 2.2.10?

Via a gem

Please install it with the following command:

gem install passenger

Next, run:

passenger-install-apache2-module

Or, if you’re an Nginx user:

passenger-install-nginx-module

Please don’t forget to copy & paste the Apache/Nginx config snippet that the installer gives you.

Via a native Linux package

John Leach from Brightbox has kindly provided an Ubuntu 8.04 package for Phusion Passenger. The package is available from the Brightbox repository which you can find at:

http://apt.brightbox.net

Add the following line to the Third Party Software Sources:

deb http://apt.brightbox.net hardy main

(The simplest way to do that is to create a file in /etc/apt/sources.list.d/ containing the deb instruction, and then run ‘apt-get update’).

Once you’ve done this then you can install Phusion Passenger by running:

sudo apt-get install libapache2-mod-passenger

-or-

sudo apt-get install nginx-brightbox

(Note that John is currently packaging 2.2.10, so it might take a while before this release shows up in the apt repository.)

Final

Phusion Passenger is provided to the community for free. If you like Phusion Passenger, please consider sending us a donation. Thank you!

  • Rizwan Reza

    Do we still need to delete the config.ru file in Rails 3 apps for REE?

  • http://www.phusion.nl/ hongli

    No, you never needed to do that in the first place. The situation is like this:

    • With config.ru, Phusion Passenger will detect your app as a Rack app. This means smart spawning is not supported, you’ll have to do with conservative spawning.
    • By deleting config.ru, Phusion Passenger will detect your app as a Rails app, and smart spawning is supported in this case.
    • Phusion Passenger 3 will support smart spawning for Rack apps too, so with Phusion Passenger 3 you don’t have to delete config.ru to take advantage of smart spawning.
    • With Phusion Passenger 3, whether you delete config.ru or not, Rails 3 will work.
  • porbas