每当我尝试使用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.
字符串
知道为什么吗
每当我尝试使用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.
字符串
知道为什么吗
2条答案
按热度按时间wooyq4lh1#
在windows上,你可能需要像这样调用它:“ruby script\generate.”
ux6nzvsh2#
我没有使用“script/generate”,而是使用了“generate”,它不再给我错误了