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

后端 未结 5 1347
醉话见心
醉话见心 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条回答
  •  一整个雨季
    2021-01-13 10:28

    Usually if you clone a repository or if you are using Docker, files like .gitignore or .dockerignore has instructions for doesn't include bin folder, check in both files and simply remove the line with it.

    You can execute rails new in another directory and copy the generated bin folder to your project and then push to your repository.

提交回复
热议问题