Skip to content

Instantly share code, notes, and snippets.

@abhianair
Created May 15, 2020 10:25
Show Gist options
  • Save abhianair/62a8633af4f93cb0f96fd2633612b3ae to your computer and use it in GitHub Desktop.
Save abhianair/62a8633af4f93cb0f96fd2633612b3ae to your computer and use it in GitHub Desktop.
Commands to restart the puma in remote server
#If the application is deployed using capistarno.
cap staging deploy:restart // cap production deploy:restart
#if the above command failed due to version controll issue:
#Error reports:
bundler: command not found: puma
Install missing gem executables with `bundle install`
# lOGIN TO THE SERVER, FROM YOUR APPLICATION CURRENT FOLDER: RUN:
bundle exec puma -C /home/rails/app-name/shared/puma.rb --daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment