Rails server does not start by command “Rails s”

前端 未结 6 483
甜味超标
甜味超标 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:36

    1. You need to create a new Rails app (unless you already have one)

      rails new my_app
      
    2. Go to your app directory

      cd my_app
      
    3. Start the server in that directory

      rails s
      

提交回复
热议问题