A server is already running. Check …/tmp/pids/server.pid. Exiting - rails

前端 未结 19 1474
礼貌的吻别
礼貌的吻别 2021-01-29 20:35
..$ rails s
=> Booting WEBrick
=> Rails 4.0.4 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=>         


        
19条回答
  •  梦毁少年i
    2021-01-29 21:01

    For this problem,

    What i did is:

    • Delete the Pids folder which is located under app/tmp/
    • and then, close the terminal which we are running the current app and close the tab (in, browser window)

    • after that, again open the terminal by going inside the folder, and then do, rails s

    • Then, it opens the fresh tab which is running our application

提交回复
热议问题