Ruby on rails 在Windows上编写/生成脚本:';脚本';不被识别为内部或外部命令

Ruby on rails 在Windows上编写/生成脚本:';脚本';不被识别为内部或外部命令,ruby-on-rails,windows,scripting,Ruby On Rails,Windows,Scripting,每当我尝试使用Railsscript/generate或script/install命令时,我都会遇到这样的错误: C:\workspace>script/generate bigcommand 'script' is not recognized as an internal or external command, operable program or batch file. 知道为什么吗?在windows上,您可能需要这样调用它:“ruby脚本\生成…”

每当我尝试使用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.

知道为什么吗?

在windows上,您可能需要这样调用它:“ruby脚本\生成…”