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

微笑、不失礼 提交于 2019-12-01 05:59:38

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.

I got this when upgrading from rails 2 to rails 3 also. Then I ran rails new . to replace all the necessary files and it worked after that.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!