Phusion white papers Phusion overview

Phusion Passenger 3.0.0 final released

By Hongli Lai on October 18th, 2010

Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications. It has a strong focus on ease of use, stability and performance. Phusion Passenger is built on top of tried-and-true, battle-hardened Unix technologies, yet at the same time introduces innovations not found in most traditional Unix servers. Since version 3.0 it can also run standalone without an external web server, making it not only easier for first-time users but also ideal on development environments.


Thanks for all the support on Twitter everyone!

What’s new compared to 2.2

Phusion Passenger 3 is a major new release and brings about many, many improvements in the areas of performance, features and stability. It is fully compatible with the latest technologies such as Rails 3.0, Ruby 1.9.2, RVM and Bundler.

You can read about the improvements in Phusion Passenger 3 through a set of articles that we had written on this subject:

What’s new compared to 3.0.0 RC 1

[Apache] `passenger-install-apache2-module –snippet` no longer prints ANSI color codes
This makes it possible to pipe its output directly to a config file. Fixes issue #548.
[Apache] Fixed thread stack size problems on FreeBSD
Previously it might crash for bizarre reasons.
[Nginx] Upgraded to Nginx 0.8.52 by default
This is because Nginx 0.8 has recently become the stable release series.
[Standalone] Fixed Unix domain socket support
There was a bug in Phusion Passenger Standalone which would cause the `-S` option to fail.

How do I upgrade to 3.0.0?

Via a gem

First install the gem with the following command:

gem install passenger

If you’re using Phusion Passenger for Apache or for Nginx, then re-run the Apache or Nginx module installer, whichever is appropriate:

passenger-install-apache2-module
passenger-install-nginx-module

At the end the installer will tell you to paste a configuration snippet into your web server config file. Replace the old snippet that you already had with this new one.

Phusion Passenger Standalone users don’t need to run anything else. Whenever you type

passenger start

it will automatically upgrade itself.

Via a native Linux package

John Leach from Brightbox has kindly provided Ubuntu packages 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 3.0.0, 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!

  • http://www.modelrc.org Pierre

    Migration from passenger 2 to 3 works great.
    My website (Ruby 1.8.7 and Ruby 1.9.2) works in harmony with passenger.

    Great jobs, thanks you

  • http://metautonomo.us Ernie Miller

    Congratulations on the release! passenger_min_instances alone is a great reason to upgrade — let alone all the other improvements!

  • http://www.maach.eu Rachid Al Maach

    I just upgraded all the servers I maintain to the latest RC version. Seems that there aren’t any critical changes concerning apache. Am I right?

  • Dimitar Haralanov

    I wonder what you do next after you run ‘rake nginx’ inside /usr/local/lib/ruby/gems/1.9/gems/passenger-3.0.0. I used to set the passenger_root directive to /usr/local/lib/ruby/gems/1.9/gems/passenger-2.2.15/ext/nginx, but now the directory structure is different that that doesn’t work. Any suggestions? (This is FreeBSD, btw)

  • http://suipit.com Lucho

    great job guys !!! 1

  • Pingback: Phusion Passenger 3.0.0 final released | Techarama

  • http://www.railsfactory.com Senthil Nayagam

    I was impressed with RC1 , now going to get all our servers upgraded.

    keep up the good work

  • http://blog.kbserv.com/ Fernando Correia

    Congratulations on the release, guys, and keep up the awesome work!

  • Pingback: Atualizando para Phusion Passenger 3.0 (Apache ou Nginx) « Dannnylo – Desenvolvendo e Aprendendo

  • http://www.phusion.nl/ Hongli Lai

    @Dimitar: read the installation instructions: http://www.modrails.com/documentation/Users%20guide%20Nginx.html#_installing_phusion_passenger_for_nginx_manually
    You were doing it wrong for 2.2.15 as well.

  • http://webapart.be Geoff

    You guys rock!!!

  • http://RyanSobol.com Ryan Sobol

    Awesome! Been waiting a long time for this day. :D

  • Pingback: Phusion Passenger auf OS X Snow Leopard installieren | I love code.

  • http://webbynode.com Felipe Coury

    Thanks for this release, seems amazingly faster! We here at Webbynode are already supporting it in new installations and also provided a migration path. Rock on guys!

  • Pingback: Phusion Passenger 3.0.0 final released | Programer

  • http://www.mybakinggames.com BakingGames

    Keep up the great work on these most informative technology type articles!

  • Pingback: Phusion Passenger 3 Released: The Next Gen of Ruby Webapp Deployment

  • Pingback: Link dump for October 18th | The Queue Blog

  • Pingback: Phusion Passenger 3.0.0 | VDP-Software

  • http://railslink.com Andrey Prihodko

    Great as usual!
    I like passenger and news about performance increasing were really sweet!

  • http://trevorturk.com Trevor Turk

    Thanks — awesome work as usual!

  • Pingback: Ruby on Rails : Phusion Passenger 3 veröffentlicht

  • Yuri G.

    What about this bug:
    http://code.google.com/p/phusion-passenger/issues/detail?id=421 ?

    When do you plan to fix it?
    Did you test it in 3.0.0 ?

  • Pingback: Usando o Passenger 3.0 em modo standalone em aplicações Rails | Prodis a.k.a. Fernando Hamasaki de Amorim

  • http://twitter.com/fredrikma Fredrik

    Passenger is fantastic! Extremely easy to use and fast!

  • Pingback: Phusion Passenger 3.0.0 最终版发布-传播、沟通、分享-一直“有你”

  • Jones Lee

    Thank you so much. Passenger Lite is great! But is there option to configure port and binding IP like Webrick?

  • Pingback: Phusion Passenger 3.0.0 最终版发布

  • http://www.phusion.nl/ Hongli Lai

    @Jones: passenger start -h

  • Martijn

    Great job! Thanks for your hard work. I love the new version.

  • Adam Wróbel

    Any one have this problem ?
    [root@king ~]# ruby -v
    ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0×6770, Ruby Enterprise Edition 2010.02
    [root@king ~]# passenger-make-enterprisey
    Phusion Genuine Advantage
    ————————-
    Welcome to the Phusion Genuine Advantage (PGA) program. This program will help
    you with activating your Passenger Enterprise License.

    Please enter your Enterprise License Key:
    <>
    /opt/rubyee/lib/ruby/gems/1.8/gems/passenger-3.0.0/bin/passenger-make-enterprisey:70: undefined method `natively_packaged?’ for main:Object (NoMethodError)
    from /opt/rubyee/bin/passenger-make-enterprisey:19:in `load’
    from /opt/rubyee/bin/passenger-make-enterprisey:19

  • Jones Lee

    I could not get passenger lite work with –debugger. I am on 1.8.7-p302 with ruby-debug 0.10.3 and passenger complains:
    “Your version of ruby-debug is too old. Please upgrade to the latest version.”

    My ruby-debug gem is the latest already unless there is some forked gem which is newer…

  • Pingback: Passenger 3.0.0 はまり編 | Carpe Diem

  • Al Brown

    Great job. Haven’t messed with 3.0 yet, but I’m sure it will run like clockwork.

  • http://handsliced.com Jeff Poulton

    +1 to add (or fix) -debugger flag, especially now that Passenger 3 doesn’t print my hackish puts statements to the apache error log.

  • http://twitter.com/StanBright Stan

    Does anyone has solved the problem with passenger 3 and “ruby-debug is too old” problem?

  • Jones Lee

    could that be Phusion is secretly cooking a new version of ruby-debug?..

  • Scottie

    @Adam:

    Yup, me too. Same version of REE, and I get:

    /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/passenger-3.0.0/bin/passenger-make-enterprisey:70: undefined method `natively_packaged?’ for main:Object (NoMethodError)
    from /opt/ruby-enterprise-1.8.7-20090928/bin/passenger-make-enterprisey:20:in `load’
    from /opt/ruby-enterprise-1.8.7-20090928/bin/passenger-make-enterprisey:20
    root@baldur:/opt/ruby-enterprise-1.8.7-20090928/bin#

  • http://www.phusion.nl/ Hongli Lai
  • http://www.phusion.nl/ Hongli Lai

    @Adam, Scottie: the bug has been fixed, thanks for the heads-up.

  • Pingback: Brightbox Blog - Ruby on Rails Hosting – Passenger 3.0.0 packages for Ubuntu Hardy and Lucid

  • Pingback: Phusion Passenger Standalone für die Entwicklung | Andreas Richter

  • Pingback: Phusion Passenger 3: più veloce, più solido | Edit - Il blog di HTML.it

  • vlcky

    export to excel is not working in production mode… it shows the blank excel sheet with out convert the html page to excel… but it working finely in development mode.. pls help me how to write the code for export to excel in
    the production mode