ruby-on-railswindowsscripting

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:

C:\workspace>script/generate bigcommand
'script' is not recognized as an internal or external command,
operable program or batch file.

Any idea why?


Solution

  • on windows, you probably need to invoke it like this: "ruby script\generate ..."