问题
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