简体   繁体   English

Windows上的脚本/生成:'script'不被识别为内部或外部命令

[英]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/generatescript/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.

相关问题 "Heroku 未被识别为内部或外部命令 (Windows)" - Heroku not recognized as an internal or external command (Windows) 'mysql' 未被识别为内部或外部命令 - 'mysql' is not recognized as an internal or external command 不能识别为内部或外部命令 - Make is not recognized as internal or external command 无法将“ rails”识别为内部或外部命令 - 'rails' is not recognized as an internal or external command 无法将“ ssh-add”识别为内部或外部命令 - “ssh-add” is not recognized as an internal or external command Rails教程3.6,“ bin”未被识别为内部或外部命令 - Rails tutorial 3.6, 'bin' is not recognized as an internal or external command 无法将“ rake”识别为内部或外部命令,可操作程序或批处理文件 - 'rake' is not recognized as an internal or external command, operable program or batch file rake无法识别为内部或外部命令,我的PATH设置正确 - rake is not recognized as an internal or external command, my PATH is set correctly 'bin\setup' 不是内部或外部命令、可运行程序或批处理文件 - 'bin\setup' is not recognized as an internal or external command, operable program or batch file 尝试创建新应用程序时,“'rails' 未被识别为内部或外部命令、可运行的程序或批处理文件” - “'rails' is not recognized as an internal or external command, operable program or batch file” when trying to create new app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM