bundle exec rake assets:precompile
-
production is default enviroment
bundle exec puma -C config/puma.rb -d
-
set environment
bundle exec puma -e staging -C config/puma.rb -d
kill -s SIGUSR2 $(cat shared/pids/puma.pid)
kill -s SIGTERM $(cat shared/pids/puma.pid)
pumactl -P shared/pids/puma.pid restart
pumactl -P shared/pids/puma.pid stop
tail -f shared/log/puma.stderr.log