Can't stop rails server

前端 未结 27 2220
别跟我提以往
别跟我提以往 2020-12-04 05:12

I am new to rails and I am using an ubuntu machine and the rubymine IDE. The problem is that I am unable to stop the rails server. I tried to stop the server by killing the

27条回答
  •  时光说笑
    2020-12-04 05:25

    pkill -9 rails to kill all the process of rails

    Updated answer

    ps aux|grep 'rails'|grep -v 'grep'|awk '{ print $2 }'|xargs kill -9

    This will kill any running rails process. Replace 'rails' with something else to kill any other processes.

提交回复
热议问题