Can't stop rails server

前端 未结 27 2125
别跟我提以往
别跟我提以往 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:24

    1. Simply Delete the pid file from rails app directory

    Rails_app -> tmp -> pids -> pid file

    Delete the file and run

    rails start


    2. For Rails 5.0 and above, you can use this command

    rails restart

提交回复
热议问题