Rails server does not start by command “Rails s”

前端 未结 6 464
甜味超标
甜味超标 2020-12-18 21:48

I\'m new to ruby and rails and i installed rails in to the ubuntu. but when i go to the start server by typing \"rails s\" it doesn\'t start and comes following message . bu

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-18 22:35

    I am also new to Ruby on rails. I find the same issue when accidentally my PC shutdown. I fix it by following steps.

    1. Create a new application. Rails new demo --Database=postgresql

    2. Copy the Bin folder of new Demo app.

    3. Remove the Bin folder of old App(That showing error)

    4. Paste the New bin folder from Demo App to old App.

    5. Start the server Rails server

    Note you can copy the bin folder from Github. https://github.com/hoovercj/depot

提交回复
热议问题