Deploying a new version of a Ruby on Rails application is as simple as re-uploading the application files, and restarting the application.
There are two ways to restart the application:
- By restarting Apache.
- By creating or modifying the file tmp/restart.txt in the Rails application’s root folder. Phusion Passenger will automatically restart the application.