Knowledgebase: Ruby On Rails
Restart the Ruby On Rails Application
Posted by on 14 July 2012 04:40 AM
|
|
Deploying a new version of a Ruby on Rails application is as simple as re-uploading the application files, and restarting the application. You can restart the application by creating or modifying the file tmp/restart.txt in the Rails application’s root folder. Passenger will automatically restart the application during the next request. For example, to restart our example MyCook application, we type this in the command line: touch /home/username/myapp/tmp/restart.txt
| |
|
Comments (0)