[英]script/generate on Windows: 'script' is not recognized as an internal or external command
Whenever I try to use the Rails script/generate
or script/install
command I get this kind of error: 每当我尝试使用Rails script/generate
或script/install
命令时,我都会遇到这种错误:
C:\workspace>script/generate bigcommand
'script' is not recognized as an internal or external command,
operable program or batch file.
Any idea why? 知道为什么吗?
在Windows上,你可能需要像这样调用它:“ruby script \\ generate ...”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.