heroku rails restart server code example Example: heroku restart rails server heroku restart -a app_name # The -a is the same as --app