how to close running server in rails code example
Example 1: how to force exit server in rails
pkill -9 ruby
Example 2: how to stop rails server
#from the terminal, type:
(CTRL) + C
pkill -9 ruby
#from the terminal, type:
(CTRL) + C