script/generate on Windows: 'script' is not recognized as an internal or external command

好久不见. 提交于 2020-01-14 19:07:08

问题


Whenever I try to use the Rails script/generate or script/install command I get this kind of error:

C:\workspace>script/generate bigcommand
'script' is not recognized as an internal or external command,
operable program or batch file.

Any idea why?


回答1:


on windows, you probably need to invoke it like this: "ruby script\generate ..."



来源:https://stackoverflow.com/questions/1489274/script-generate-on-windows-script-is-not-recognized-as-an-internal-or-externa

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