ruby on rails server command

旧街凉风 提交于 2019-12-25 02:31:54

问题


I've started to learn ruby on rails , I've got a problem with server, in the tutorial when they use "rails server" it shows port number and some other information about server, but when I use "rails server" in windows , it shows me the options of "rails" command
have any ideas where's the problem?
thanks


回答1:


Before start the rails server, you have to create your project

rails new projectname

and then you have to go your project's folder and try to start server

cd projectname/

rails server


来源:https://stackoverflow.com/questions/6633696/ruby-on-rails-server-command

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