How do I restart my rails server?

Posted April 24, 2015 19.2k views
Ruby on RailsNginxUbuntuNetworkingLinux Commands

I am running the nginx + unicorn on Ubuntu 14.04. I just uploaded my rails app to the /home/rails folder. How do I restart the server so it can use my changes?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

To restart your Rails server, you can run:

  • sudo service unicorn restart

For more details on how the Ruby on Rails One-Click app is configured, check out this tutorial: