Error // Usage: rails new APP_PATH [options] // when running 'rails server'

后端 未结 5 1389
醉话见心
醉话见心 2021-01-13 09:48

Background info:

I\'m using GIT to get a repository of a project with Ruby files in it. The project lives in my SITES folder under home directory on my Mac.

5条回答
  •  梦毁少年i
    2021-01-13 10:16

    You're running rails server from the wrong directory. Go INTO the directory containing your app and run the command from there. For example, if you ran rails new thingy, you must be in the thingy directory when you use rails server.

提交回复
热议问题