Monday, January 13, 2014

Getting Phusion Passenger to update the site...

First time using Phusion Passenger on a Rails site that I'm supporting for a new client, hosted on

I made a very simple upgrade to a view but it wouldn't display the updated content. If you've worked with Passenger before, you probably know this, but Passenger won't reload any new content unless you update the modification date of a special file "tmp/restart.txt", as in:
touch tmp/restart.txt
This information is buried fairly deep in the documentation so I didn't notice it immediately. Hopefully this will save someone else a bit of head-scratching.

No comments:

Post a Comment