Passenger 2.2.2 Upgrade
On select production cPanel servers, we have upgraded to Passenger 2.2.2. This new release offers a variety of new features and substantial performance improvements, but we’ve had to make one slight change to our Passenger deployment routine. Due to this, you’ll have to add a line to your .htaccess file in your public folder in your Rails app with the contents:
PassengerAppRoot /home/user/rails_apps/yourapp
Replace “user” with your username and “rails_apps/yourapp” with the path to your Rails application.
On the servers we have deployed the upgrade to we have added this to any existing .htaccess file or created a new one with that line in it. However, if you use Subversion or Git repository, you’ll need to add this change to it so that the next time you do an update this change will be preserved.
You have not made this change already, please do so as soon as you can. This will ensure upgrades on the rest of our shared hosting cluster will go smoothly.
On the off chance that your Rails application isn’t functioning correctly, make sure the above line is in your .htaccess file in the public folder of your Rails application.
August 14th, 2009 at 11:56 am
What are the plans for deploying Ruby 1.9? I’d be happy to volunteer to be moved to a box that had Ruby 1.9 and Passenger, if there is interest at OCS at starting to support it.
August 25th, 2009 at 4:59 am
You can install Ruby 1.9 now following this guide:
Installing Your Own Ruby Stack
It doesn’t work with Passenger though at this time, but we’re working on a recipe to allow that to work correctly.