Phusion Passenger has two mechanisms to allow you to restart your Rails application.
Check out the Passenger documentation here.
The basic premise is that you should have a tmp
directory under the root of your Rails application.
By issuing: touch tmp/restart.txt
from within the root of your Rails application, you're telling Passenger to restart the app.