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

前端 未结 19 1646
礼貌的吻别
礼貌的吻别 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条回答
  •  半阙折子戏
    2021-01-29 20:42

    Simple:

    go in the root folder of the project when this happens and run:

    gem install shutup
    shutup
    

    This will find the process currently running, kill it and clean up the pid file

    NOTE: if you are using rvm install the gem globally

    rvm @global do gem install shutup
    

提交回复
热议问题