Can't kill a process - stopping rails server

view full story

http://stackoverflow.com – 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 (HowTos)