问题
I am trying to stop rails server from my console (i am using ubuntu) so following the related questions on stack, I tried
Ctrl + C
pgrep -l ruby and then kill -9 $the_right_pids (and also ps aux | grep ...)
but none of these worked. Does anybody have an idea ?
Update: I found a solution on a stack post and the issue seems be come from a ruby server bug (when using rubymine?), the solution seems not natural but it can do the trick : stop the process in the console and the refresh the browser with another localhost's port --> How to stop/kill server (development) in rubymine
来源:https://stackoverflow.com/questions/15040790/cant-kill-a-process-stopping-rails-server